mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
doc: Recompile when parser script changes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
1b55849c02
commit
f628a3ed0b
@ -110,13 +110,13 @@ $(manual-pdfs): %.pdf: %.xml
|
||||
$(manual-pages-part-html): %.part.html: %.html
|
||||
perl -pe 'BEGIN {undef $$/} s/.*<body[^>]*>(.*)<\/body\s*>.*/$$1/si' $< > $@
|
||||
|
||||
$(manual-raw-xmls): %.raw.xml: %.raw.wiki
|
||||
$(manual-raw-xmls): %.raw.xml: %.raw.wiki $(SCRIPTS_DIR)/wikiparser.py
|
||||
python3 $(SCRIPTS_DIR)/wikiparser.py $< > $@
|
||||
|
||||
$(manual-xmls): %.xml: %.raw.xml $(SCRIPTS_DIR)/fixes.xslt
|
||||
xsltproc --output $@ $(SCRIPTS_DIR)/fixes.xslt $<
|
||||
|
||||
$(manual-pages-raw-xml): %.raw.xml: %.raw.wiki
|
||||
$(manual-pages-raw-xml): %.raw.xml: %.raw.wiki $(SCRIPTS_DIR)/wikiparser.py
|
||||
python3 $(SCRIPTS_DIR)/wikiparser.py $< > $@
|
||||
|
||||
$(manual-pages-xml): %.xml: %.raw.xml $(SCRIPTS_DIR)/manual-page-fixes.xslt
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user