X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=fbf69aa61e9bcd9dc58117ea5c936ad40104ee83;hb=43e31c593da10e6bf3c726236d3d794bc428bd3c;hp=4262ecc4b00b330d35998c44a10926b07ef6f0ed;hpb=4fb81453461f004b7334bac10d1eed60ac9837b8;p=ginac.git diff --git a/Makefile.am b/Makefile.am index 4262ecc4..fbf69aa6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +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 + +CMAKE_FILES = CMakeLists.txt \ + ginac.pc.cmake \ + config.cmake.in \ + INSTALL.CMake \ + cmake/modules/FindCLN.cmake \ + cmake/modules/FindReadline.cmake \ + cmake/modules/FindGiNaC.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