[nautilus-actions] Fix PDF distribution



commit 706a91243cefc243241de71953731b8b5109a399
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sat Aug 21 10:56:30 2010 +0200

    Fix PDF distribution

 ChangeLog            |    4 ++++
 doc/nact/Makefile.am |    6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 96f75e2..bb4dcf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-21 Pierre Wieser <pwieser trychlos org>
+
+	* doc/nact/Makefile.am: Fix PDF distribution.
+
 2010-08-19 Pierre Wieser <pwieser trychlos org>
 
 	* src/nact/nautilus-actions-config-tool.ui:
diff --git a/doc/nact/Makefile.am b/doc/nact/Makefile.am
index 6b553ba..f1029b6 100644
--- a/doc/nact/Makefile.am
+++ b/doc/nact/Makefile.am
@@ -129,7 +129,7 @@ html.stamp: $(_DOC_C_DOCS) $(_DOC_C_FIGURES) ChangeLog
 		(cd $$i; \
 		 if test "x$(abs_srcdir)" != "x$(abs_builddir)"; then cp $(abs_srcdir)/$$i/*.xml .; fi; \
 		 db2html --nochunks $(DOC_MODULE).xml; \
-		 if test "x$(abs_srcdir)" != "x$(abs_builddir)"; then rm -f *.xml .; fi; \
+		 if test "x$(abs_srcdir)" != "x$(abs_builddir)"; then rm -f *.xml; fi; \
 		); \
 		cp -rp $(abs_srcdir)/$$i/figures $$i/$(DOC_MODULE)/; \
 		chmod -R u+w $$i/$(DOC_MODULE); \
@@ -179,8 +179,8 @@ pdf.stamp: $(_DOC_C_DOCS) $(_DOC_C_FIGURES) ChangeLog
 		_target=$$i/$(DOC_MODULE).pdf; \
 		echo "Generating $$_target ..."; \
 		if ! test -d $$i; then $(MKDIR_P) $$i; fi; \
-		echo "dblatex --output $$_target $$i/$(DOC_MODULE).xml"; \
-		dblatex --output $$_target $$i/$(DOC_MODULE).xml; \
+		echo "dblatex --output $$_target $(top_srcdir)/doc/nact/$$i/$(DOC_MODULE).xml"; \
+		dblatex --output $$_target $(top_srcdir)/doc/nact/$$i/$(DOC_MODULE).xml; \
 	done
 	touch pdf.stamp
 



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