1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 20_makefile_fixup.dpatch by Roland Rosenfeld <roland@debian.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Fix syntax error in GNUmakefile.in
8 diff -urNad privoxy~/GNUmakefile.in privoxy/GNUmakefile.in
9 --- privoxy~/GNUmakefile.in
10 +++ privoxy/GNUmakefile.in
12 $(RM) -r doc/source/user-manual/
13 mkdir -p doc/text doc/source/user-manual
14 cd doc/source/user-manual && $(DB) -iuser-man ../user-manual.sgml && cd .. && cp user-manual/*.html ../webserver/user-manual/
15 - @#FIXME: temp fix so same stylesheet gets in more than one place so it works \
16 - @# for all doc set-ups, including the 'user manual' config option in local \
17 - @#system where it MUST be in same directory as html.
18 + #FIXME: temp fix so same stylesheet gets in more than one place so it works \
19 + # for all doc set-ups, including the 'user manual' config option in local \
20 + #system where it MUST be in same directory as html.
21 $(PERL) -pi.bak -e 's/<\/head/\n<LINK REL=\"STYLESHEET\" TYPE=\"text\/css\" HREF=\"p_doc.css\">\n<\/head/i' doc/webserver/user-manual/*html
22 cd doc/source && $(DB) -iuser-man -V nochunks user-manual.sgml > tmp.html && $(WDUMP) tmp.html > ../text/user-manual.txt && $(RM) -r tmp.html user-manual