aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2021-02-08 09:51:10 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2021-02-08 10:15:36 +0100
commit8fc12adf15efabdcfeadfd9d3b35ef3cd2a5e15b (patch)
treecd9033a9dc97a3d856b7918328815d3ae2f5841f /Makefile
parent90e95e756f1ecf519ecba5ad7d652b6ecdfa8881 (diff)
downloads2u-8fc12adf15efabdcfeadfd9d3b35ef3cd2a5e15b.tar
s2u-8fc12adf15efabdcfeadfd9d3b35ef3cd2a5e15b.tar.gz
s2u-8fc12adf15efabdcfeadfd9d3b35ef3cd2a5e15b.tar.bz2
s2u-8fc12adf15efabdcfeadfd9d3b35ef3cd2a5e15b.tar.xz
s2u-8fc12adf15efabdcfeadfd9d3b35ef3cd2a5e15b.zip
Kill checktag accordingly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 7 insertions, 15 deletions
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