aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-17 16:13:49 +0200
committerDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-30 14:33:03 +0200
commit1437f3fab20b669fa27069cf772e4551ee6078d5 (patch)
tree3e58fbcfe4db3463550a6328ba6159e8e1e30618 /Makefile
parent277be5ed064caaa86b9582d27bbb0472779edf3a (diff)
downloadinitscripts-1437f3fab20b669fa27069cf772e4551ee6078d5.tar
initscripts-1437f3fab20b669fa27069cf772e4551ee6078d5.tar.gz
initscripts-1437f3fab20b669fa27069cf772e4551ee6078d5.tar.bz2
initscripts-1437f3fab20b669fa27069cf772e4551ee6078d5.tar.xz
initscripts-1437f3fab20b669fa27069cf772e4551ee6078d5.zip
make archive: ChangeLog generating removed
Use 'git log' instead...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index c5b6d3a4..813ca45e 100644
--- a/Makefile
+++ b/Makefile
@@ -103,24 +103,18 @@ install-post: install-etc
touch $(DESTDIR)$(sysconfdir)/rc.d/rc.local
chmod 0755 $(DESTDIR)$(sysconfdir)/rc.d/rc.local
-changelog:
- @rm -f ChangeLog
- git log --stat > ChangeLog
-
clean:
make clean -C src
make clean -C po
- @rm -fv *~ changenew ChangeLog.old *gz
@find . -name "*~" -exec rm -v -f {} \;
tag:
@git tag -a -f -m "Tag as $(TAG)" $(TAG)
@echo "Tagged as $(TAG)"
-archive: clean changelog
+archive: clean
@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)
@gzip -f initscripts-$(VERSION).tar
@rm -rf initscripts-$(VERSION)