X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=Makefile.am;h=950d12d5365a00c175991d20f3fb141dc1b1d418;hp=2f5ce75891176aeb8f65b523675181428815badd;hb=13905769fe865764a271f0e2aeb22f422e1289d7;hpb=6b3768e8c544739ae53321539cb4d1e3112ded1b diff --git a/Makefile.am b/Makefile.am index 2f5ce758..950d12d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,32 @@ ## 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 + +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 + +BUILD_HELPERS = scripts/yaptu.py scripts/fixupind.py + +# 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 + rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz + +ACLOCAL_AMFLAGS = -I m4