enable docs build for distcheck
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 3 Sep 2005 14:20:10 +0000 (14:20 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 3 Sep 2005 14:20:10 +0000 (14:20 +0000)
Original commit message from CVS:
enable docs build for distcheck

Makefile.am
docs/htmlinstall.mak

index 94353a3..efd7412 100644 (file)
@@ -1,5 +1,4 @@
-PACKAGE = @PACKAGE@
-VERSION = @VERSION@
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-docbook
 
 if BUILD_TESTS
 ## SUBDIRS_TESTS = tests testsuite
index 15ac2bf..96038d8 100644 (file)
@@ -8,7 +8,7 @@ install-data-local: html
        cp -pr $(HTML_DAT) $(DESTDIR)$(docdir)/$(DOC)
 
 uninstall-local:
-       for part in $(HTML_DAT); do rm -rf $(DESTDIR)$(docdir)/$$part; done
+       for part in $(HTML_DAT); do rm -rf $(DESTDIR)$(docdir)/$(DOC)/$$part; done
        if test -d $(DESTDIR)$(docdir)/$(DOC); then rmdir $(DESTDIR)$(docdir)/$(DOC); fi
 else
 install-data-local: