optimized makefile-targets

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@390 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2011-01-16 01:21:48 +00:00
parent 0a4782842b
commit 21bf0cda9d
4 changed files with 30 additions and 32 deletions

View File

@@ -1,8 +1,6 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src m4 patches
DISTCLEANFILES = Doxyfile
EXTRA_DIST = README.dox Doxyfile.in apdus
do_subst = sed \
@@ -17,12 +15,11 @@ do_subst = sed \
-e 's,[@]top_srcdir[@],$(top_srcdir),g'
if DOC_ENABLED
clean-local:
rm -rf doc
.PHONY: doc
doc :
$(do_subst) < $(srcdir)/Doxyfile.in > Doxyfile
$(DOXYGEN) Doxyfile
.PHONY: doc
endif
clean-local:
rm -rf doc Doxyfile