Tarball creation tweaks
- add ChangeLog to tarballs - make tagging non-interactive - silence the tarball generation commands
This commit is contained in:
parent
c73da1f920
commit
d53f48cc84
10
Makefile
10
Makefile
@ -14,11 +14,13 @@ install:
|
|||||||
rm -f $(DESTDIR)/usr/lib/rpm/redhat/Makefile
|
rm -f $(DESTDIR)/usr/lib/rpm/redhat/Makefile
|
||||||
|
|
||||||
tag-archive:
|
tag-archive:
|
||||||
git tag -a $(CVSTAG)
|
@git tag -a $(CVSTAG) -m "$(NAME)-$(VERSION) release"
|
||||||
|
|
||||||
create-archive:
|
create-archive:
|
||||||
git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 -9v > $(NAME)-$(VERSION).tar.bz2
|
@git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | tar xf -
|
||||||
@echo "The final archive is in $(NAME)-$(VERSION).tar.bz2"
|
@git log > $(NAME)-$(VERSION)/ChangeLog
|
||||||
|
@tar cjf $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
|
||||||
|
@rm -rf $(NAME)-$(VERSION)
|
||||||
|
@echo "Created $(NAME)-$(VERSION).tar.bz2"
|
||||||
|
|
||||||
archive: tag-archive create-archive
|
archive: tag-archive create-archive
|
||||||
dist: create-archive
|
|
||||||
|
Loading…
Reference in New Issue
Block a user