PKG = qpsmtpd-plugin-closed_usradm all: rpm: $(PKG).tar.gz rpmbuild -ta --clean --sign --rmsource $^ $(PKG).tar.gz: $(PKG).spec closed_usradm tar cfz $@ $^ versioned_tar: ./make_versioned_tar $(PKG)