mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2026-01-04 12:45:00 +08:00
for issue #1
This commit is contained in:
parent
5269094856
commit
ccd4b0d04b
3 changed files with 25153 additions and 18705 deletions
2
Makefile
2
Makefile
|
|
@ -38,6 +38,8 @@ pdf : $(PDF_FILE)
|
|||
# The "dir" and "notdir" functions extract the directory and base filename from a path, respectively.
|
||||
%-generated.adoc : %.adoc0
|
||||
> cd $(dir $@); run-code-inline < $(notdir $<) 2>&1 | tee $(notdir $@)
|
||||
> sed -i 's/\x0d\x1b.\x4b//g' $@
|
||||
# The last line fixes some weird characters generated by some nix commands
|
||||
|
||||
$(HTML_FILE) : $(ADOC_FILES)
|
||||
> asciidoctor -b html5 -d book $(ADOC_ATTRIBUTES) $(ADOC_HTML_ATTRIBUTES) -o $@ $(MAIN_ADOC_FILE)
|
||||
|
|
|
|||
1329
index.html
1329
index.html
File diff suppressed because it is too large
Load diff
42527
wombats-book-of-nix.pdf
42527
wombats-book-of-nix.pdf
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue