[Pkg-wmaker-commits] [wmbiff] 15/77: try to tell the difference between running make dist with cvs and missing cvs2cl (an error), and running make dist without cvs (which should be ok).

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:01:04 UTC 2015


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

dtorrance-guest pushed a commit to tag wmbiff_0_4_0
in repository wmbiff.

commit 4dbe69ee97f4b0787daae262cca183e98cb0d182
Author: bluehal <bluehal>
Date:   Tue Apr 9 07:47:35 2002 +0000

    try to tell the difference between running make dist with cvs and missing cvs2cl (an error), and running make dist without cvs (which should be ok).
---
 Makefile.am | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index ca119a8..c01a6d1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,14 +21,19 @@ dist-hook-local: ChangeLog
 
 # manually increment version in configure.in, which should be enough.
 ChangeLog: stamp-h Makefile configure.in
-	@if test -e maint/changelog-header && test "x$(CVS2CL)" != "x"; then \
+	@if test -e maint/changelog-header; then \
+	  if test "x$(CVS2CL)" != "x"; then \
 		cat maint/changelog-header > $@; \
 		echo >> $@; \
 		echo "running $(CVS2CL)..."; \
 		$(CVS2CL) --stdout --utc --day-of-week | sed -f maint/changelog.sed >> $@; \
-	else \
+	  else \
 		echo "Unable to build ChangeLog for distribution"; \
 		exit 1; \
-	fi	
+	  fi; \
+	else \
+      echo "ChangeLog doesn't seem like a good target. touching anyway."; \
+      touch $@; \
+    fi
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list