X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=b30fe2d2731adb502b6dd94a55eb28db75061607;hp=192308cef7b1b17b50c987b59fcbedce778709a8;hb=17aea0b2d1bf5230c39981ba36e1f7ced56cecbc;hpb=0d9b6e6d134917a8fb5cf76ade55dcbaf01acb28 diff --git a/Makefile.am b/Makefile.am index 192308ce..b30fe2d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,24 +1,30 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = ginac check ginsh tools @GINACCINTDIR@ doc -DIST_SUBDIRS = cint ginac check ginsh tools doc - -# Requires automake 1.4 -AUTOMAKE_OPTIONS = 1.4 +SUBDIRS = ginac check ginsh tools doc +DIST_SUBDIRS = ginac check ginsh tools doc # GiNaC runtime configuration script bin_SCRIPTS = ginac-config +BUILT_SOURCES = ginac-config +ginac-config: ginac-config.in -# 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 +# pkg-config metadata +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = ginac.pc +$(pkgconfig_DATA): config.status + +# All the rest of the distributed files +EXTRA_DIST = ginac.m4 ginac.pc GiNaC.spec depcomp + # Rule to build tar-bzipped distribution package -$(PACKAGE)-$(VERSION).tar.bz2: dist +$(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