]> rtime.felk.cvut.cz Git - omk.git/blobdiff - doc/Makefile
Fixed documentation Makefile to work correctly when updateing web from clean sources.
[omk.git] / doc / Makefile
index 9298015b9d5f1520ae6cd3829ff40f95348c89e2..c56449efc67224ffb35bf14c5f4153e660f77b28 100644 (file)
@@ -8,14 +8,14 @@ PDF_FIGS = $(patsubst %.png,%.pdf,$(PNG_FIGS))
 %.pdf: %.png
        convert $< -density 150 $@
 
-%.pdf: %.texinfo $(PDF_FIGS)
+$(SOURCE).pdf: $(SOURCE).texinfo $(PDF_FIGS)
        texi2dvi --pdf $<
        texi2dvi --pdf $<
 
-%.txt: %.texinfo
+$(SOURCE).txt: $(SOURCE).texinfo
        makeinfo --no-headers --force -o $@ $<
 
-%.html: %.texinfo
+$(SOURCE).html: $(SOURCE).texinfo
        makeinfo --html --no-split -o $@ $<
 #      texi2html --l2h $<
 # Fix texinfo HTML output