diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2017-02-24 15:40:54 +0100 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-02-27 15:56:05 +0100 |
commit | 0724006bf2467c89dece180f26c4ac21dc42fcb6 (patch) | |
tree | 355de05dff6670b540d4e60b3941c3ba8d0cfe10 /Makefile | |
parent | e883d6690f3b79796e3dc8b27e4e67ec2acb66cb (diff) | |
download | initscripts-0724006bf2467c89dece180f26c4ac21dc42fcb6.tar initscripts-0724006bf2467c89dece180f26c4ac21dc42fcb6.tar.gz initscripts-0724006bf2467c89dece180f26c4ac21dc42fcb6.tar.bz2 initscripts-0724006bf2467c89dece180f26c4ac21dc42fcb6.tar.xz initscripts-0724006bf2467c89dece180f26c4ac21dc42fcb6.zip |
9.70-19.70
Move everything to github
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -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" |