X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=b30fe2d2731adb502b6dd94a55eb28db75061607;hp=2f5ce75891176aeb8f65b523675181428815badd;hb=04e17739d8698c3c33287853c0a7177dad45c818;hpb=6b3768e8c544739ae53321539cb4d1e3112ded1b diff --git a/Makefile.am b/Makefile.am index 2f5ce758..b30fe2d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,30 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = ginac check ginsh doc +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 + +# 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.gz: dist + +# Rule to build RPM distribution package +rpm: $(PACKAGE)-$(VERSION).tar.gz + rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz