cryptocd-archiv/v1.0/doku/Makefile

21 lines
489 B
Makefile
Raw Normal View History

2005-04-24 17:01:16 +02:00
LATEX2HTMLPREFIX := -split 0 -init_file ../.latex2html-init -no_navigation
TEX_FILES := $(patsubst %.lyx,%.tex,$(wildcard *.lyx))
NEW_INDEXES := $(patsubst %.lyx,%/index.html,$(wildcard *.lyx))
.PHONY : clean
all : $(NEW_INDEXES)
$(TEX_FILES): %.tex: %.lyx
lyx -e latex $*.lyx
$(NEW_INDEXES): %/index.html: %.tex
latex2html $(LATEX2HTMLPREFIX) $*.tex
python mod_html_files.py $@
clean :
rm $(patsubst %.lyx,%.tex,$(wildcard *.lyx))
rm -r $(patsubst %.lyx,%,$(wildcard *.lyx))