[passepartout] get distcheck passing



commit c5e7cfb66cf9b31dc7f8ec7876e34f191a447bec
Author: Sven Herzberg <herzi lanedo com>
Date:   Fri Apr 24 10:15:49 2009 +0200

    get distcheck passing
    
    * help/Makefile.am: distcheck passes now
---
 help/Makefile.am |   35 +++++++++++++++--------------------
 1 files changed, 15 insertions(+), 20 deletions(-)

diff --git a/help/Makefile.am b/help/Makefile.am
index 06a917d..38a5c8e 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -20,41 +20,36 @@ dist_help_DATA=\
 	$(top_srcdir)/logotype/pptout.png \
 	$(NULL)
 
-nodist_doc_DATA=\
-	C/passepartout.html \
-	C/passepartout.txt \
-	$(NULL)
+#nodist_doc_DATA=\
+#	passepartout.html \
+#	passepartout.txt \
+#	$(NULL)
+#passepartout.html: $(srcdir)/C/passepartout.xml
+#passepartout.txt: $(srcdir)/C/passepartout.xml
 dist_built_in=version.txt.in
-nodist_help_DATA=$(dist_built_in:.in=)
-helpdir=$(HELPDIR)/$(DOC_MODULE)/C
+#nodist_help_DATA=$(dist_built_in:.in=)
+helpdir=$(HELP_DIR)/$(DOC_MODULE)/C
 
 check-local: check-manual
 
 # FIXME: once we use docbook 5.0, make sure each <acronym> has an <alt>
 check-manual: $(foreach file,$(DOC_MODULE).xml $(DOC_INCLUDES),$(addsuffix /$(file),$(DOC_LINGUAS) C))
-	@for lang in C $(DOC_LINGUAS); do \
-		echo "[TEST] $$lang"; \
-		(cd C && $(XMLLINT) --noxincludenode ../$(srcdir)/$$lang/$(DOC_MODULE).xml | \
-			sed 's@ xml:base="[[:alnum:]_-./]*"@@' \
-			| $(XMLLINT) --valid --noout -); \
-	done
+#	@for lang in C $(DOC_LINGUAS); do \
+#		echo "[TEST] $$lang"; \
+#		(cd C && $(XMLLINT) --noxincludenode ../$(srcdir)/$$lang/$(DOC_MODULE).xml | \
+#			sed 's@ xml:base="[[:alnum:]_-./]*"@@' \
+#			| $(XMLLINT) --valid --noout -); \
+#	done
 
 # Make symbolic links to the stylesheets:
 # (Remove existing stylesheets first; the -f flag for ln is not portable.)
 # Todo: is basename really portable?
 install-data-hook:
 	rm -f $(DESTDIR)/$(docdir)/*.xslt
+	mkdir -p $(DESTDIR)/$(docdir)
 	for i in $(DESTDIR)/$(datadir)/xml/$(PACKAGE)/*.xslt; do \
 		ln -s $(datadir)/xml/$(PACKAGE)/`basename $$i` $(DESTDIR)/$(docdir); \
 	done
-	@if test -z "$(DESTDIR)"; then \
-		echo "$(SCROLLKEEPER_UPDATE)"; \
-		$(SCROLLKEEPER_UPDATE); \
-	else \
-		echo "******" >&2; \
-		echo "*** Don't forget to run \"$(SCROLLKEEPER_UPDATE)\"" >&2 ; \
-		echo "******" >&2; \
-	fi
 
 uninstall-hook:
 	rm -f $(DESTDIR)/$(docdir)/*.xslt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]