build: Fix CMake install for info file.
[ginac.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 SUBDIRS = ginac check ginsh tools doc
3 DIST_SUBDIRS = ginac check ginsh tools doc
4
5 # pkg-config metadata
6 pkgconfigdir = $(libdir)/pkgconfig
7 pkgconfig_DATA = ginac.pc
8 $(pkgconfig_DATA): config.status
9
10 CMAKE_FILES = CMakeLists.txt \
11               ginac.pc.cmake \
12               config.cmake.in \
13               INSTALL.CMake \
14               cmake/ginac-config.cmake.in \
15               cmake/modules/FindCLN.cmake \
16               cmake/modules/FindReadline.cmake \
17               cmake/modules/FindGiNaC.cmake \
18               cmake/modules/FindLibDL.cmake
19
20 BUILD_HELPERS = scripts/yaptu.py scripts/fixupind.py
21
22 # All the rest of the distributed files
23 EXTRA_DIST = ginac.pc GiNaC.spec $(BUILD_HELPERS) $(CMAKE_FILES)
24
25 # Rule to build tar-bzipped distribution package
26 $(PACKAGE)-$(VERSION).tar.gz: dist
27
28 # Rule to build RPM distribution package
29 rpm: $(PACKAGE)-$(VERSION).tar.gz
30         rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
31
32 ACLOCAL_AMFLAGS = -I m4