Set version, soname ahead of release.
[ginac.git] / Makefile.am
index b30fe2d2731adb502b6dd94a55eb28db75061607..950d12d5365a00c175991d20f3fb141dc1b1d418 100644 (file)
@@ -2,25 +2,25 @@
 SUBDIRS = ginac check ginsh tools doc
 DIST_SUBDIRS = ginac check ginsh tools doc
 
-# GiNaC runtime configuration script
-bin_SCRIPTS = ginac-config
-BUILT_SOURCES = ginac-config
-ginac-config: ginac-config.in
-
-# Man pages
-man_MANS = ginac-config.1
-
-# M4 macro file for inclusion with autoconf
-m4datadir = $(datadir)/aclocal
-m4data_DATA = ginac.m4
-
 # 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.m4 ginac.pc GiNaC.spec depcomp
+EXTRA_DIST = ginac.pc GiNaC.spec $(BUILD_HELPERS) $(CMAKE_FILES)
 
 # Rule to build tar-bzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
@@ -28,3 +28,5 @@ $(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