Fix how we do manpages.
[awesomized/libmemcached] / rpm.am
diff --git a/rpm.am b/rpm.am
index 82a3ffd389787e7ba77c8cdef2fda09997dfc2f2..16a68c1ce8cf53a819115b594187966b53f76c3f 100644 (file)
--- a/rpm.am
+++ b/rpm.am
@@ -1,6 +1,6 @@
 # vim:ft=automake
 
-rpm-build: support/$(PACKAGE).spec
+rpm-build: support/$(PACKAGE).spec distcheck
        @rm -f *.rpm
        @rm -f ~/rpmbuild/RPMS/x86_64/$(PACKAGE)-$(VERSION)*.rpm
        @rm -f ~/rpmbuild/SRPMS/$(PACKAGE)-$(VERSION)*.rpm
@@ -28,7 +28,7 @@ clean-rpm:
        @rm -f *.src.rpm
        @rm -f *.rpm
 
-rpm: clean-rpm support/$(PACKAGE).spec man distcheck rpm-build
+rpm: clean-rpm support/$(PACKAGE).spec rpm-build
 
 release: rpm rpm-sign