From 76f9a9fa4921596a75630cdf46c5a6ad1bee4643 Mon Sep 17 00:00:00 2001 From: Jez Higgins Date: Thu, 14 Jan 2010 11:26:23 +0000 Subject: [PATCH] clean generated docs --- Makefile.am | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/Makefile.am b/Makefile.am index 81d66902..7133bbbf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,41 +3,23 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS= src examples tests -install-data-local: - @echo "------------------------------------------------------------" - @echo "Installing include files to $(pkgincludedir)" - @echo "------------------------------------------------------------" - for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \ - do mkdir -p "`dirname \"$(pkgincludedir)/$$inc\"`"; $(INSTALL_HEADER) "$(srcdir)/include/$$inc" "$(pkgincludedir)/$$inc"; \ - done - $(INSTALL_HEADER) "$(top_builddir)/include/SAX/ArabicaConfig.hpp" "$(pkgincludedir)/SAX" - -uninstall-local: - @echo "------------------------------------------------------------" - @echo "Removing include files from $(pkgincludedir)" - @echo "------------------------------------------------------------" - for inc in `cd $(srcdir)/include && find . -type f -print | grep -v \.svn`; \ - do rm -rf "$(pkgincludedir)/$$inc"; \ - done - for dir in `cd $(srcdir)/include && find . -type d -print | grep -v \.svn`; \ - do rm -rf "$(pkgincludedir)/$$dir"; \ - done - -DIST_SUBDIRS= src examples tests +DIST_SUBDIRS=src examples tests EXTRA_DIST=vs7 \ vs8 \ vs9 \ - doc \ include \ + doc \ tests/XSLT/testsuite \ src/SAX/wrappers/saxexpat.cpp \ src/SAX/wrappers/saxlibxml2.cpp \ src/SAX/wrappers/saxxerces.cpp \ src/convert/impl/codecvt_specialisations.cpp + dist-hook: + find $(distdir) -print | grep \.bzr | xargs rm -rf find $(distdir) -print | grep \.svn | xargs rm -rf find $(distdir) -print | grep \~$ | xargs rm -rf - rm $(distdir)/include/SAX/ArabicaConfig.hpp + rm -f $(distdir)/include/SAX/ArabicaConfig.hpp pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = arabica.pc @@ -48,3 +30,5 @@ docs: @echo "Generated documents to ./doc/html" @echo "------------------------------------------------------------" +clean-local: + cd doc && rm -rf html