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
5 # GiNaC runtime configuration script
6 bin_SCRIPTS = ginac-config
7 BUILT_SOURCES = ginac-config
8 ginac-config: ginac-config.in
11 man_MANS = ginac-config.1
13 # M4 macro file for inclusion with autoconf
14 m4datadir = $(datadir)/aclocal
15 m4data_DATA = ginac.m4
18 pkgconfigdir = $(libdir)/pkgconfig
19 pkgconfig_DATA = ginac.pc
20 $(pkgconfig_DATA): config.status
22 # All the rest of the distributed files
23 EXTRA_DIST = ginac.m4 ginac.pc GiNaC.spec depcomp
25 # Rule to build tar-bzipped distribution package
26 $(PACKAGE)-$(VERSION).tar.gz: dist
28 # Rule to build RPM distribution package
29 rpm: $(PACKAGE)-$(VERSION).tar.gz
30 rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz