X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=6f8e63fed9287517021f783a05618865881fc411;hp=6470f546911d9a2c36f1284220e6bc3b1a49e447;hb=1d07d8ac9fb47c51aa19a84df6c8c5fee5dd5105;hpb=956eeb82c513a723e864edefa857133282cf692b diff --git a/Makefile.am b/Makefile.am index 6470f546..6f8e63fe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = @GINACCINTDIR@ ginac check ginsh tools doc +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 + rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz