diff --git a/Makefile.am b/Makefile.am index 8ecab330..fd11ce57 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,3 +25,9 @@ cvs-clean: maintainer-clean deb: dpkg-buildpackage -rfakeroot + +rpm: dist + cp $(distdir).tar.gz /usr/src/redhat/SOURCES/ + cp redhat/tinc.spec /usr/src/redhat/SOURCES/ + cd /usr/src/redhat/SOURCES/ + rpm -bi tinc.spec