- fix git syntax
authorKarsten Hopp <karsten@redhat.com>
Thu, 7 May 2009 10:53:53 +0000 (12:53 +0200)
committerKarsten Hopp <karsten@redhat.com>
Thu, 7 May 2009 10:53:53 +0000 (12:53 +0200)
Makefile

index ad7cc0989d272b744c7c002f3c102150ec060a0e..2db02b47b6a5b710ff2cd41e88354f666ee092e0 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"
@@ -54,7 +54,7 @@ check:
 
 create-archive: changelog
        @rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar*  2>/dev/null
-       @git-archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD > $(NAME)-$(VERSION)-$(RELEASE).tar
+       @git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD > $(NAME)-$(VERSION)-$(RELEASE).tar
        @mkdir $(NAME)-$(VERSION)
        @cp ChangeLog $(NAME)-$(VERSION)/
        @tar --append -f $(NAME)-$(VERSION)-$(RELEASE).tar $(NAME)-$(VERSION)