X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=fbf69aa61e9bcd9dc58117ea5c936ad40104ee83;hp=328100460c9c665c7606383bb2642257e5d65711;hb=d5b86dd10dd9cba12175d07af0b6edfc9a215e36;hpb=0b1b69cae8f548d656e0955fc543dd14ab93a139 diff --git a/Makefile.am b/Makefile.am index 32810046..fbf69aa6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,23 +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 -# Requires automake 1.4 -AUTOMAKE_OPTIONS = 1.4 +# pkg-config metadata +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = ginac.pc +$(pkgconfig_DATA): config.status -# GiNaC runtime configuration script -bin_SCRIPTS = ginac-config +CMAKE_FILES = CMakeLists.txt \ + ginac.pc.cmake \ + config.cmake.in \ + INSTALL.CMake \ + cmake/modules/FindCLN.cmake \ + cmake/modules/FindReadline.cmake \ + cmake/modules/FindGiNaC.cmake -# All the rest of the distributed files -EXTRA_DIST = autogen.sh ginac.m4 +BUILD_HELPERS = scripts/yaptu.py scripts/fixupind.py -# M4 macro file for inclusion with autoconf -m4datadir = $(datadir)/aclocal -m4data_DATA = ginac.m4 +# All the rest of the distributed files +EXTRA_DIST = ginac.pc GiNaC.spec $(BUILD_HELPERS) $(CMAKE_FILES) -# 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