build-sys: use non-recursive build

For reasons see excellent paper 'Recursive Make Considered Harmful' by
Peter Miller.

References: http://miller.emu.id.au/pmiller/books/rmch/
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2013-04-24 21:36:16 +01:00
parent 0495ea4edf
commit 30238e9d1c
18 changed files with 102 additions and 115 deletions

5
doc/.gitignore vendored
View file

@ -1,5 +0,0 @@
/Makefile
/Makefile.in
/doxy.conf
/doxyfile.stamp
/html

View file

@ -1,18 +0,0 @@
EXTRA_DIST = doxy.conf.in introduction.dox
if ENABLE_DOXYGEN
doxyfile.stamp:
$(DOXYGEN) doxy.conf
date > doxyfile.stamp
CLEANFILES = doxyfile.stamp
all-local: doxyfile.stamp
clean-local: clean-local-check
.PHONY: clean-local-check
clean-local-check:
-rm -rf html
endif

20
doc/Makemodule.am Normal file
View file

@ -0,0 +1,20 @@
EXTRA_DIST += \
doc/doxy.conf.in \
doc/introduction.dox
if ENABLE_DOXYGEN
doxyfile.stamp:
$(DOXYGEN) doc/doxy.conf
date > doc/doxyfile.stamp
CLEANFILES += doc/doxyfile.stamp
all-local: doc/doxyfile.stamp
clean-local-doc:
-rm -rf doc/*html
CLEAN_LOCALS += clean-local-doc
endif