[gtk-doc] pdf: dist pdfs and clean on dist-clean
- From: Stefan Kost <stefkost src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk-doc] pdf: dist pdfs and clean on dist-clean
- Date: Tue, 7 Jul 2009 22:07:47 +0000 (UTC)
commit 24fb0eac4dade4547f14e2385662584ac967abd0
Author: Stefan Kost <ensonic users sf net>
Date: Tue Jul 7 22:35:11 2009 +0100
pdf: dist pdfs and clean on dist-clean
We don't install pdfs yet (if so where to?), but they should be disted and they
need to be cleaned.
gtk-doc.make | 3 ++-
gtk-doc.notmpl.make | 3 ++-
tests/gtk-doc.make | 6 ++----
tests/gtk-doc.notmpl.make | 6 ++----
4 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/gtk-doc.make b/gtk-doc.make
index 11af3b5..fc885d8 100644
--- a/gtk-doc.make
+++ b/gtk-doc.make
@@ -131,7 +131,7 @@ clean-local:
distclean-local:
cd $(srcdir) && \
- rm -rf xml $(REPORT_FILES) \
+ rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \
$(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
maintainer-clean-local: clean
@@ -185,6 +185,7 @@ dist-hook: dist-check-gtkdoc dist-hook-local
mkdir $(distdir)/html
-cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
cp $(srcdir)/html/* $(distdir)/html
+ -cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/
-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
cd $(distdir) && rm -f $(DISTCLEANFILES)
diff --git a/gtk-doc.notmpl.make b/gtk-doc.notmpl.make
index c7c2888..d7ce661 100644
--- a/gtk-doc.notmpl.make
+++ b/gtk-doc.notmpl.make
@@ -136,7 +136,7 @@ clean-local:
distclean-local:
cd $(srcdir) && \
- rm -rf xml $(REPORT_FILES) \
+ rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \
$(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
maintainer-clean-local: clean
@@ -188,6 +188,7 @@ endif
dist-hook: dist-check-gtkdoc dist-hook-local
mkdir $(distdir)/html
cp $(srcdir)/html/* $(distdir)/html
+ -cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/
-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
cd $(distdir) && rm -f $(DISTCLEANFILES)
diff --git a/tests/gtk-doc.make b/tests/gtk-doc.make
index f002e17..ad09826 100644
--- a/tests/gtk-doc.make
+++ b/tests/gtk-doc.make
@@ -125,13 +125,11 @@ clean-local:
rm -f *~ *.bak
rm -rf .libs
chmod -R u+w $(srcdir)
- cd $(srcdir) && \
- rm -rf xml $(REPORT_FILES) \
- $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
+ $(MAKE) distclean-local
distclean-local:
cd $(srcdir) && \
- rm -rf xml $(REPORT_FILES) \
+ rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \
$(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
maintainer-clean-local: clean
diff --git a/tests/gtk-doc.notmpl.make b/tests/gtk-doc.notmpl.make
index 1462aa6..6079c39 100644
--- a/tests/gtk-doc.notmpl.make
+++ b/tests/gtk-doc.notmpl.make
@@ -119,13 +119,11 @@ clean-local:
rm -f *~ *.bak
rm -rf .libs
chmod -R u+w $(srcdir)
- cd $(srcdir) && \
- rm -rf xml $(REPORT_FILES) \
- $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
+ $(MAKE) distclean-local
distclean-local:
cd $(srcdir) && \
- rm -rf xml $(REPORT_FILES) \
+ rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \
$(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
maintainer-clean-local: clean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]