X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=e8bec987a33c0a237ddb48a8a98390a94a118167;hp=2f5ce75891176aeb8f65b523675181428815badd;hb=0358859aa6bc5806805fa415db79c039af3960d6;hpb=6b3768e8c544739ae53321539cb4d1e3112ded1b diff --git a/Makefile.am b/Makefile.am index 2f5ce758..e8bec987 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,20 @@ ## 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 + +# pkg-config metadata +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = ginac.pc +$(pkgconfig_DATA): config.status + +# All the rest of the distributed files +EXTRA_DIST = ginac.pc GiNaC.spec + +# 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 + +ACLOCAL_AMFLAGS = -I m4