X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=b651383cf687c7f29ab03475d1b4ff0853352453;hp=e451f9d544bbfd8cb5159112dce0f6650d55b213;hb=627de8efe53389269082bc0c908a10e7e09b9207;hpb=063f2146c7a68cf4ba74d2fd91dbc6c92e9210ed diff --git a/Makefile.am b/Makefile.am index e451f9d5..b651383c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,26 +1,31 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = ginac check ginsh tools @GINACCINTDIR@ 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 +# 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 \ + cmake/modules/FindLibDL.cmake -# Man pages -man_MANS = ginac-config.1 - -# M4 macro file for inclusion with autoconf -m4datadir = $(datadir)/aclocal -m4data_DATA = ginac.m4 +BUILD_HELPERS = scripts/yaptu.py scripts/fixupind.py # All the rest of the distributed files -EXTRA_DIST = ginac.m4 GiNaC.spec +EXTRA_DIST = ginac.pc GiNaC.spec $(BUILD_HELPERS) $(CMAKE_FILES) # Rule to build tar-bzipped distribution package $(PACKAGE)-$(VERSION).tar.gz: dist # Rule to build RPM distribution package rpm: $(PACKAGE)-$(VERSION).tar.gz - rpm --tarball a $(PACKAGE)-$(VERSION).tar.gz + rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz + +ACLOCAL_AMFLAGS = -I m4