aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2017-02-24 15:40:54 +0100
committerDee'Kej <deekej@linuxmail.org>2017-02-27 15:56:05 +0100
commit0724006bf2467c89dece180f26c4ac21dc42fcb6 (patch)
tree355de05dff6670b540d4e60b3941c3ba8d0cfe10 /Makefile
parente883d6690f3b79796e3dc8b27e4e67ec2acb66cb (diff)
downloadinitscripts-9.70.tar
initscripts-9.70.tar.gz
initscripts-9.70.tar.bz2
initscripts-9.70.tar.xz
initscripts-9.70.zip
9.70-19.70
Move everything to github
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"