From: Brian Aker Date: Fri, 7 Feb 2014 06:10:57 +0000 (-0800) Subject: Fix RPM buidl so that PHONY is declared. X-Git-Tag: 1.0.18~4^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=96964f01822cce66cf7abb1e1cc043248503b923;p=m6w6%2Flibmemcached Fix RPM buidl so that PHONY is declared. --- diff --git a/rpm/include.am b/rpm/include.am index 00d37825..20967ab6 100644 --- a/rpm/include.am +++ b/rpm/include.am @@ -1,5 +1,6 @@ # vim:ft=automake +.PHONY: rpm-build rpm-build: support/$(PACKAGE).spec distcheck @rm -f *.rpm @rm -f ~/rpmbuild/RPMS/x86_64/$(PACKAGE)-$(VERSION)*.rpm @@ -19,18 +20,23 @@ rpm-build: support/$(PACKAGE).spec distcheck -cp ~/rpmbuild/RPMS/x86_64/$(PACKAGE)-debuginfo-$(VERSION)*.rpm . @cp ~/rpmbuild/SRPMS/$(PACKAGE)-$(VERSION)*.rpm . +.PHONY: rpm-sign rpm-sign: rpm-build @rpm --addsign *.rpm @rpm --checksig *.rpm +.PHONY: clean-rpm clean-rpm: @rm -f *.tar.gz @rm -f *.src.rpm @rm -f *.rpm +.PHONY: rpm rpm: clean-rpm support/$(PACKAGE).spec rpm-build +.PHONY: release release: rpm rpm-sign +.PHONY: auto-rpmbuild auto-rpmbuild: @auto-br-rpmbuild -ba support/libmemcached.spec