1 2 3 4 5 6 7 8 9 10 11 12 13
|
Author: Francois Marier <francois@debian.org>
Description: Fix links to the local copy of HTML and PDF books
--- gitmagic.orig/Makefile
+++ gitmagic/Makefile
@@ -21,6 +21,7 @@ book.xml: $(TXTFILES)
sed -i -e 's|<a name="_|<a id="|g' -e 's|8230_and_then_some|and_then_some|g' -e 's|#_|#|g' book/*.html
-ls book/*.html | xargs -n 1 tidy -utf8 -m -i -q
./makeover
+ sed -i -e 's|book\.html|../gitmagic.html|g' -e 's|book\.pdf|../gitmagic.pdf|g' book/index.html
book/default.css: book.css
-mkdir book
|