- fix syntax of git-archive and git-log
authorKarsten Hopp <karsten@redhat.com>
Thu, 19 Mar 2009 19:42:17 +0000 (20:42 +0100)
committerKarsten Hopp <karsten@redhat.com>
Thu, 19 Mar 2009 19:42:17 +0000 (20:42 +0100)
Makefile

index 1e4f929bfd47e16305ae507c870cd334a6bdbf99..141b2cc258ed0f6040b422b904f9783278f881aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ force-tag:
 
 changelog:
        @rm -f ChangeLog
-       @(GIT_DIR=.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog || rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
+       @(GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog || rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
 
 check:
        @[ -x /sbin/lspci ] && /sbin/lspci -i pci.ids > /dev/null || { echo "FAILURE: /sbin/lspci -i pci.ids"; exit 1; } && echo "OK: /sbin/lspci -i pci.ids"
@@ -55,7 +55,7 @@ check:
 create-archive:
        @rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar*  2>/dev/null
        @make changelog
-       @git-archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD > $(NAME)-$(VERSION).tar
+       @git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD > $(NAME)-$(VERSION).tar
        @mkdir $(NAME)-$(VERSION)
        @cp ChangeLog $(NAME)-$(VERSION)/
        @tar --append -f $(NAME)-$(VERSION).tar $(NAME)-$(VERSION)