--- mon/Makefile.am 2000/04/24 13:09:55 1.1 +++ mon/Makefile.am 2000/10/10 19:28:01 1.7 @@ -4,10 +4,17 @@ SUBDIRS = src # Requires automake 1.4 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