From 8fc12adf15efabdcfeadfd9d3b35ef3cd2a5e15b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 8 Feb 2021 09:51:10 +0100 Subject: Kill checktag accordingly --- Makefile | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 04dd701..2bfccfc 100644 --- a/Makefile +++ b/Makefile @@ -43,38 +43,30 @@ install: install -d $(DESTDIR)/etc/dbus-1/system.d install -m 644 s2u.conf $(DESTDIR)/etc/dbus-1/system.d -# rules to build a test rpm -checktag: - @if [ "x$(VERSION)" == "x" -o "x$(RELEASE)" = "x" ]; then \ - echo usage is "make VERSION=version_number RELEASE=release_number dist" ; \ - exit 1 ; \ - fi - - localdist: cleandist dir localcopy tar -cleandist: checktag +cleandist: rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2 -dir: checktag +dir: mkdir $(PACKAGE)-$(VERSION) -localcopy: checktag +localcopy: tar c $(FILES) | tar x -C $(PACKAGE)-$(VERSION) -tar: checktag +tar: tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION) bzip2 -9vf $(PACKAGE)-$(VERSION).tar rm -rf $(PACKAGE)-$(VERSION) # rules to build a distributable rpm -dist: checktag cleandist svntag export tar +dist: cleandist svntag export tar -export: checktag +export: svn export $(SVNROOT)/tags/$(TAG) $(PACKAGE)-$(VERSION) -svntag: checktag +svntag: svn copy $(SVNROOT)/trunk $(SVNROOT)/tags/$(TAG) -m "$(TAG)" changelog: ../common/username -- cgit v1.2.1