update pic.ids, usb.ids for rhel7
authorKarsten Hopp <karsten@redhat.com>
Wed, 2 May 2012 13:05:49 +0000 (15:05 +0200)
committerKarsten Hopp <karsten@redhat.com>
Wed, 2 May 2012 13:05:49 +0000 (15:05 +0200)
Makefile

index efb0cc1fdf64f31c6b0ec1f74142cf1abe9e94fd..d01360291ad45b234ea01fd8e4e0d5ed4c1e6496 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,19 @@ FILES = pci.ids upgradelist usb.ids oui.txt pnp.ids
 
 .PHONY: all install tag force-tag check commit create-archive archive srpm-x clean clog new-pci-ids new-usb-ids
 
-all: 
+all: help
+
+help:
+       @echo "Make targets:"
+       @echo "install - install on local system without using rpm"
+       @echo "tag     - tag n-v-r"
+       @echo "force-tag"
+       @echo "check   - check for errors, release dates,..."
+       @echo "clean   - remove old src.rpms"
+       @echo "commit  - commit all changes to git"
+       @echo "push    - push commited changes upstream"
+       @echo "create-archive - create tarball of latest commited files"
+       @echo "archive - make check clean commit push tag create-archive"
 
 install:
        mkdir -p -m 755 $(datadir)/$(NAME)
@@ -37,6 +49,9 @@ install:
 commit:
        git commit -a ||:
 
+push:
+       git push ||:
+
 tag:
        @git tag -a -m "Tag as $(NAME)-$(VERSION)-$(RELEASE)" $(NAME)-$(VERSION)-$(RELEASE)
        @echo "Tagged as $(NAME)-$(VERSION)-$(RELEASE)"
@@ -67,7 +82,7 @@ create-archive:
        @echo ""
        @echo "The final archive is in $(NAME)-$(VERSION)-$(RELEASE).tar.bz2"
 
-archive: check clean commit tag create-archive
+archive: check clean commit tag push create-archive
 
 upload:
        @scp ${NAME}-$(VERSION)-$(RELEASE).tar.bz2 fedorahosted.org:$(NAME)