[Pkg-privacy-commits] [libgsecuredelete] 11/12: Don't rely on directory timestamp for rebuilding

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 20:07:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to annotated tag 0.2.1
in repository libgsecuredelete.

commit 3f78a05fa5b48d10638698fb7887d7730fbcf397
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Thu Jan 23 23:36:41 2014 +0100

    Don't rely on directory timestamp for rebuilding
---
 docs/Makefile.am | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index fc274ee..a859a93 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -28,28 +28,34 @@ VALADOC_FLAGS = --no-protected \
 # For the gtkdoc doclet, it also prevents leftover files to be used and
 # produce wrong results, e.g. if a file got renamed.
 
-html: $(valadoc_sources)
-	rm -f -r $@
+html: html/.dirstamp
+html/.dirstamp: $(valadoc_sources)
+	rm -f -r html
 	$(VALADOC) \
-		-o $@ \
+		-o html \
 		--doclet html \
 		$(VALADOC_FLAGS)
+	touch $@
 
-devhelp: $(valadoc_sources)
-	rm -f -r $@
+devhelp: devhelp/.dirstamp
+devhelp/.dirstamp: $(valadoc_sources)
+	rm -f -r devhelp
 	$(VALADOC) \
-		-o $@ \
+		-o devhelp \
 		--doclet devhelp \
 		$(VALADOC_FLAGS)
+	touch $@
 
-gtkdoc: $(valadoc_sources)
-	rm -f -r $@
+gtkdoc: gtkdoc/.dirstamp
+gtkdoc/.dirstamp: $(valadoc_sources)
+	rm -f -r gtkdoc
 	$(VALADOC) \
 		-X -l -X $(top_builddir)/gsecuredelete/.libs/libgsecuredelete.so \
 		-X $(top_srcdir)/gsecuredelete/gsecuredelete.h \
-		-o $@ \
+		-o gtkdoc \
 		--doclet gtkdoc \
 		$(VALADOC_FLAGS)
+	touch $@
 
 
 clean-local:
@@ -75,7 +81,7 @@ uninstall-hook: uninstall-doc-devhelp uninstall-doc-gtkdoc
 install-data-hook: install-doc-devhelp install-doc-gtkdoc
 
 
-all: html devhelp gtkdoc
+all: html/.dirstamp devhelp/.dirstamp gtkdoc/.dirstamp
 
 .PHONY: uninstall-doc-devhelp \
         install-doc-devhelp \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git



More information about the Pkg-privacy-commits mailing list