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
6 pkgconfigdir = $(libdir)/pkgconfig
7 pkgconfig_DATA = ginac.pc
8 $(pkgconfig_DATA): config.status
10 BUILD_HELPERS = scripts/yaptu.py scripts/fixupind.py
12 # All the rest of the distributed files
13 EXTRA_DIST = ginac.pc GiNaC.spec $(BUILD_HELPERS)
15 # Rule to build tar-bzipped distribution package
16 $(PACKAGE)-$(VERSION).tar.gz: dist
18 # Rule to build RPM distribution package
19 rpm: $(PACKAGE)-$(VERSION).tar.gz
20 rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
22 ACLOCAL_AMFLAGS = -I m4