--- mon/Makefile.am 2000/09/19 16:10:27 1.3 +++ mon/Makefile.am 2002/09/05 23:00:02 1.9 @@ -1,17 +1,20 @@ ## Process this file with automake to produce Makefile.in SUBDIRS = src -# Requires automake 1.4 -AUTOMAKE_OPTIONS = 1.4 +# Requires automake 1.5 +AUTOMAKE_OPTIONS = foreign 1.5 # Manpages -man_MANS = mon.1 -EXTRA_DIST = mon.1 +man_MANS = cxmon.1 + +EXTRA_DIST = cxmon.1 + +dist-hook: cxmon.spec + cp cxmon.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