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