X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=e8bec987a33c0a237ddb48a8a98390a94a118167;hp=08a6da95a4b93b347638d957a15c70d86758bdae;hb=f9a14723ef80c4f38b814556fb16084e2b64d426;hpb=9d22692238af9dd0875b5ed849e6ce3a3d503a87 diff --git a/Makefile.am b/Makefile.am index 08a6da95..e8bec987 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,24 +1,20 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = @GINACCINTDIR@ ginac check ginsh tools doc -DIST_SUBDIRS = cint 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 - -# GiNaC runtime configuration script -bin_SCRIPTS = ginac-config +# pkg-config metadata +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = ginac.pc +$(pkgconfig_DATA): config.status # All the rest of the distributed files -EXTRA_DIST = autogen.sh ginac.m4 - -# M4 macro file for inclusion with autoconf -m4datadir = $(datadir)/aclocal -m4data_DATA = ginac.m4 +EXTRA_DIST = ginac.pc GiNaC.spec -# Rule to build tar-gzipped distribution package +# 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 + +ACLOCAL_AMFLAGS = -I m4