-all: $(example-htmls) $(example-doxygen)
+all: $(example-doxygen)
$(example-prog):
echo generated/$${i}_toc.plain : generated/$${i}_toc.prog ; \
echo generated/$${i}_toc.combined : \
generated/$${i}_toc.prog generated/$${i}_toc.plain ; \
- echo $$i.html : generated/$${i}_prog.html generated/$${i}_plain.html \
- generated/$${i}_toc.combined \
- $$i.data/intro.html $$i.data/results.html ; \
echo doxygen/$$i.h : generated/$${i}_prog.dox generated/$${i}_plain.dox \
generated/$${i}_toc.combined \
- $$i.data/intro.html $$i.data/results.html ; \
+ $$i.data/intro.`if test -f $$i.data/intro.dox ; then echo dox ; else echo html ; fi` \
+ $$i.data/results.`if test -f $$i.data/results.dox ; then echo dox ; else echo html ; fi` \
+ ; \
done \
> $@
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams