[gtk-doc] make: remove the types file on clean if we generated it
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] make: remove the types file on clean if we generated it
- Date: Fri, 7 Feb 2014 17:59:17 +0000 (UTC)
commit d5110ef6d1825fc1f4f7f7bcfe149e48ede972f8
Author: Stefan Sauer <ensonic users sf net>
Date: Fri Feb 7 18:18:53 2014 +0100
make: remove the types file on clean if we generated it
gtk-doc.make | 3 +++
gtk-doc.notmpl.make | 3 +++
tests/gtk-doc.make | 3 +++
tests/gtk-doc.notmpl.make | 3 +++
4 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gtk-doc.make b/gtk-doc.make
index 52b150a..8c3b62f 100644
--- a/gtk-doc.make
+++ b/gtk-doc.make
@@ -242,6 +242,9 @@ pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
clean-local:
@rm -f *~ *.bak
@rm -rf .libs
+ @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
+ rm $(DOC_MODULE).types; \
+ fi
distclean-local:
@rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
diff --git a/gtk-doc.notmpl.make b/gtk-doc.notmpl.make
index 3ea79c9..7f55c58 100644
--- a/gtk-doc.notmpl.make
+++ b/gtk-doc.notmpl.make
@@ -219,6 +219,9 @@ pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
clean-local:
@rm -f *~ *.bak
@rm -rf .libs
+ @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
+ rm $(DOC_MODULE).types; \
+ fi
distclean-local:
@rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
diff --git a/tests/gtk-doc.make b/tests/gtk-doc.make
index 32052b0..0009c5b 100644
--- a/tests/gtk-doc.make
+++ b/tests/gtk-doc.make
@@ -214,6 +214,9 @@ pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
clean-local:
@rm -f *~ *.bak ts
@rm -rf .libs
+ @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
+ rm $(DOC_MODULE).types; \
+ fi
$(MAKE) distclean-local
distclean-local:
diff --git a/tests/gtk-doc.notmpl.make b/tests/gtk-doc.notmpl.make
index 16c82cc..31d4d97 100644
--- a/tests/gtk-doc.notmpl.make
+++ b/tests/gtk-doc.notmpl.make
@@ -190,6 +190,9 @@ pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
clean-local:
@rm -f *~ *.bak ts
@rm -rf .libs
+ @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
+ rm $(DOC_MODULE).types; \
+ fi
$(MAKE) distclean-local
distclean-local:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]