X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=360d34d48c5919c454e55bae92ffb87a7751f9f5;hp=36a9799c0c46949714c633076f8ca9df2d6ab5fa;hb=ec397a253020039a0b0ea4ec5e91dde24100366a;hpb=7c53e5826e7bac0c62fbcc86590705d9d3d0baf2;ds=sidebyside diff --git a/Makefile.am b/Makefile.am index 36a9799c..360d34d4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ ## Process this file with automake to produce Makefile.in SUBDIRS = ginac check ginsh tools doc +DIST_SUBDIRS = ginac check ginsh tools doc # Requires automake 1.4 AUTOMAKE_OPTIONS = 1.4 @@ -7,17 +8,19 @@ AUTOMAKE_OPTIONS = 1.4 # GiNaC runtime configuration script bin_SCRIPTS = ginac-config -# All the rest of the distributed files -EXTRA_DIST = autogen.sh ginac.m4 +# Man pages +man_MANS = ginac-config.1 # M4 macro file for inclusion with autoconf m4datadir = $(datadir)/aclocal m4data_DATA = ginac.m4 -# Rule to build tar-gzipped distribution package +# All the rest of the distributed files +EXTRA_DIST = ginac.m4 GiNaC.spec depcomp + +# Rule to build tar-bzipped 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 GiNaC.spec + rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz