From 0a48563d4aab1cebc3a058213345c8ad3b39f275 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Wed, 16 Dec 2009 00:10:46 +0000 Subject: [PATCH] we can now work with simpler makefiles [[Imported from SVN: r5795]] --- bin/duneproject | 33 +++------------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/bin/duneproject b/bin/duneproject index 2410a0d5a..1ccdf140a 100755 --- a/bin/duneproject +++ b/bin/duneproject @@ -615,23 +615,15 @@ echo "- $PROJECT/doc/Makefile.am" cat> "$PROJECT/doc/Makefile.am" << CC_DELIM SUBDIRS = doxygen - CURDIR = doc - BASEDIR = .. +# add list of html files to generate from wml +PAGES= + docdir=\$(datadir)/doc/${PROJECT} include \$(top_srcdir)/am/webstuff - -CLEANFILES = \$(PAGES) - -if ! BUILD_DOCS -# add tag to notify that dist has been build without documentation -dist-hook: - echo "# No documentation included in distribution! " > \$(distdir)/\$(DOCUMENTATION_TAG_FILE) -endif - include \$(top_srcdir)/am/global-rules CC_DELIM @@ -690,29 +682,10 @@ cat> "$PROJECT/doc/doxygen/Makefile.am" << CC_DELIM BASEDIR=../.. CURDIR=doc/doxygen -WHAT= - -doxygendir = \$(datadir)/doc/$PROJECT/doxygen -doxygen_DATA = \$(WHAT) - -#we need this in the distribution -EXTRA_DIST = \$(WHAT) \$(DOXYGENDISTFILES) - -all: \$(WHAT) \$(DOXYGENFILES) include \$(top_srcdir)/am/doxygen include \$(top_srcdir)/am/global-rules -# file to clean only in svn and not in tarball tree -SVNCLEANFILES = html \$(WHAT) \$(DOXYGENHEADER) - -clean-local: - if test "x\$(VPATH)" != "x" && test ! -e \$(srcdir)/doxygen-tag; then \ - if test -e \$(top_srcdir)/doc/doxygen/Doxydep; then \ - rm -rf \$(SVNCLEANFILES); \ - fi; \ - fi - CC_DELIM ## done -- GitLab