[Pm-utils] Makefile and create-archive
Peter Jones
pjones at redhat.com
Mon May 1 07:57:12 PDT 2006
On Mon, 2006-05-01 at 10:47 -0400, Peter Jones wrote:
...
Actually this is the patch in CVS instead:
Index: Makefile
===================================================================
RCS file: /cvs/pm-utils/pm-utils/Makefile,v
retrieving revision 1.29
retrieving revision 1.31
diff -u -p -r1.29 -r1.31
--- Makefile 1 May 2006 14:36:01 -0000 1.29
+++ Makefile 1 May 2006 14:56:12 -0000 1.31
@@ -14,7 +14,11 @@ libdir=$(prefix)/lib
CVSROOT:=$(shell cat CVS/Root 2>/dev/null || :)
-CVSTAG = pm-utils-$(subst .,-,$(VERSION))
+CVSTAG ?= pm-utils-$(subst .,-,$(VERSION))
+TESTTAG?=HEAD
+ifneq ($(origin TESTTAG), file)
+ override TESTTAG := pm-utils-$(subst .,-,$(TESTTAG))
+endif
all:
@@ -65,6 +69,9 @@ create-archive:
archive: clean tag-archive create-archive
+test-archive: clean
+ echo $(MAKE) CVSTAG=$(TESTTAG) create-archive
+
clean:
dummy:
--
Peter
More information about the Pm-utils
mailing list