--- mon/Makefile.am 2000/10/05 14:52:02 1.4 +++ mon/Makefile.am 2002/09/05 23:00:02 1.9 @@ -1,16 +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 mon.spec +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 - rpm --tarball a $(PACKAGE)-$(VERSION).tar.gz + rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz