From 025a83f1b3919121bf59e4946240f8876e838440 Mon Sep 17 00:00:00 2001 From: Lon Hohberger Date: Thu, 27 Aug 2009 16:30:56 -0400 Subject: [PATCH] Change CVS maintenance macros -> git Signed-off-by: Lon Hohberger --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9118054..b638245 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,9 @@ rpm: rpmcommon rpm_build/clumanager.spec mv rpm_build/*/*rpm . -cvsrpms: +gitrpms: rm -f clumanager.spec - make RELEASE=0.`cvs status ChangeLog | grep Working | awk '{print $$3}'` rpms + make RELEASE=0.1git`git log -1 | head -1 | cut -f2 -d' '` rpms rpms: srpm rpm rm -rf rpm_build @@ -78,7 +78,7 @@ clumanager-$(VERSION).tar.gz: librhcm/sizes.h cp COPYING ChangeLog clumanager.doxygen clumanager.spec.in \ clumanager-$(VERSION) for subdir in $(SUBDIRS); do cp -a $$subdir clumanager-$(VERSION); done - make -C clumanager-$(VERSION) purge cvspurge + make -C clumanager-$(VERSION) purge gitpurge tar -czf clumanager-$(VERSION).tar.gz clumanager-$(VERSION) rm -rf clumanager-$(VERSION) @@ -94,8 +94,8 @@ spec: clumanager.spec librhcm/sizes.h spec-clean: rm -f clumanager.spec -cvspurge: - find . -type d -name "CVS" | xargs rm -rf +gitpurge: + find . -type d -name ".git" | xargs rm -rf clean: find . -name "*buildtest*" | xargs rm -f -- 2.11.4.GIT