aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 2c9f795b..814982a1 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,7 @@ SUPERUSER=root
SUPERGROUP=root
VERSION := $(shell awk '/Version:/ { print $$2 }' initscripts.spec)
-RELEASE := $(shell awk '/Release:/ { print $$2 }' initscripts.spec | sed 's|%{?dist}||g')
-TAG=initscripts-$(VERSION)-$(RELEASE)
+TAG=$(VERSION)
mandir=/usr/share/man
@@ -122,15 +121,3 @@ clean:
tag:
@git tag -a -f -m "Tag as $(TAG)" $(TAG)
@echo "Tagged as $(TAG)"
-
-archive: clean syntax-check tag changelog
- @git archive --format=tar --prefix=initscripts-$(VERSION)/ HEAD > initscripts-$(VERSION).tar
- @mkdir -p initscripts-$(VERSION)/
- @cp ChangeLog initscripts-$(VERSION)/
- @tar --append -f initscripts-$(VERSION).tar initscripts-$(VERSION)
- @bzip2 -f initscripts-$(VERSION).tar
- @rm -rf initscripts-$(VERSION)
- @echo "The archive is at initscripts-$(VERSION).tar.bz2"
- @sha1sum initscripts-$(VERSION).tar.bz2 > initscripts-$(VERSION).sha1sum
- @scp initscripts-$(VERSION).tar.bz2 initscripts-$(VERSION).sha1sum fedorahosted.org:initscripts 2>/dev/null|| scp initscripts-$(VERSION).tar.bz2 initscripts-$(VERSION).sha1sum fedorahosted.org:/srv/web/releases/i/n/initscripts
- @echo "Everything done, files uploaded to Fedorahosted.org"