include.am 684 B

1234567891011121314151617181920212223242526272829
  1. # vim:ft=automake
  2. rpm-build: rpm/spec dist
  3. @rm -f *.rpm
  4. rpmdev-setuptree
  5. find ~/rpmbuild/RPMS ~/rpmbuild/SRPMS -name "$(PACKAGE)-$(VERSION)*.rpm" | xargs rm -f
  6. @cp $(PACKAGE)-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
  7. @rpmbuild -ba --clean rpm/spec
  8. @cp ~/rpmbuild/RPMS/*/$(PACKAGE)-$(VERSION)*.rpm .
  9. @cp ~/rpmbuild/RPMS/*/$(PACKAGE)-devel-$(VERSION)*.rpm .
  10. @cp ~/rpmbuild/RPMS/*/$(PACKAGE)-debuginfo-$(VERSION)*.rpm .
  11. @cp ~/rpmbuild/SRPMS/$(PACKAGE)-$(VERSION)*.rpm .
  12. rpm-sign: rpm-build
  13. @rpm --addsign *.rpm
  14. @rpm --checksig *.rpm
  15. clean-rpm:
  16. @rm -f *.tar.gz
  17. @rm -f *.src.rpm
  18. @rm -f *.rpm
  19. rpm: rpm-build
  20. release: rpm-sign
  21. auto-rpmbuild:
  22. @auto-br-rpmbuild -ba rpm/spec