--- mon/Makefile.am 2000/09/19 16:10:27 1.3 +++ mon/Makefile.am 2000/10/10 19:28:01 1.7 @@ -6,12 +6,15 @@ AUTOMAKE_OPTIONS = 1.4 # Manpages man_MANS = mon.1 + EXTRA_DIST = mon.1 +dist-hook: mon.spec + cp mon.spec $(distdir) + # Rule to build tar-gzipped distribution package $(PACKAGE)-$(VERSION).tar.gz: dist # Rule to build RPM distribution package rpm: $(PACKAGE)-$(VERSION).tar.gz - cp $(PACKAGE)-$(VERSRION).tar.gz /usr/src/redhat/SOURCES - rpm -ba mon.spec + rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz