.PHONY: FORCE
-all: $(SOURCE).pdf $(SOURCE).txt $(SOURCE).html
+all: $(SOURCE).txt $(SOURCE).html $(SOURCE).pdf
.version: FORCE
echo $(VERSION) | cmp -s $@ - || echo $(VERSION) > $@
-%.texi: %.texinfo .version
- sed -e 's/\$$Id\$$/$(VERSION)/g' < $< > $@
+%.texinfo: .version
PNG_FIGS = $(wildcard *.png)
PDF_FIGS = $(patsubst %.png,%.pdf,$(PNG_FIGS))
%.pdf: %.png
convert $< -density 150 $@
-%.pdf: %.texi $(PDF_FIGS)
+%.pdf: %.texinfo $(PDF_FIGS)
texi2dvi --pdf $<
texi2dvi --pdf $<
-%.txt: %.texi
+%.txt: %.texinfo
makeinfo --no-headers --force -o $@ $<
-%.html: %.texi
+%.html: %.texinfo
makeinfo --html --no-split -o $@ $<
# texi2html --l2h $<
# Fix texinfo HTML output
@c %**end of header
@copying
-Manual for Ocera Make System (OMK) version $Id$
+Manual for Ocera Make System (OMK) version @include .version
Copyright @copyright{} 2007, 2008, 2009, 2010, 2011 Michal Sojka, Pavel Pisa
@end copying