X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=950d12d5365a00c175991d20f3fb141dc1b1d418;hp=fec6552ee80e15c3628f88ae8dbfe6a80f5ec99a;hb=13905769fe865764a271f0e2aeb22f422e1289d7;hpb=9ca58b8e0e91d5a7f38b6e80da0eae5ce4c3a533 diff --git a/Makefile.am b/Makefile.am index fec6552e..950d12d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,23 +1,32 @@ ## 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/ginac-config.cmake.in \ + cmake/modules/FindCLN.cmake \ + cmake/modules/FindReadline.cmake \ + cmake/modules/FindGiNaC.cmake \ + cmake/modules/FindLibDL.cmake -# All the rest of the distributed files -EXTRA_DIST = ginac.m4 GiNaC.spec +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-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