]> www.ginac.de Git - ginac.git/blobdiff - Makefile.am
[build] Include the helper scripts into the tarball.
[ginac.git] / Makefile.am
index a728e31717b4f062b928d606161554f481067239..82b63dc22fa26b5800469016f06c7410c9c77826 100644 (file)
@@ -1,26 +1,22 @@
 ## Process this file with automake to produce Makefile.in
-SUBDIRS = ginac check ginsh tools @GINACCINTDIR@ doc
-DIST_SUBDIRS = cint ginac check ginsh tools doc
+SUBDIRS = ginac check ginsh tools doc
+DIST_SUBDIRS = ginac check ginsh tools doc
 
-# Requires automake 1.4
-AUTOMAKE_OPTIONS = 1.4
+# pkg-config metadata
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = ginac.pc
+$(pkgconfig_DATA): config.status
 
-# GiNaC runtime configuration script
-bin_SCRIPTS = ginac-config
-
-# Man pages
-man_MANS = ginac-config.1
-
-# M4 macro file for inclusion with autoconf
-m4datadir = $(datadir)/aclocal
-m4data_DATA = ginac.m4
+BUILD_HELPERS = scripts/yaptu.py scripts/fixupind.py
 
 # All the rest of the distributed files
-EXTRA_DIST = ginac.m4 GiNaC.spec
+EXTRA_DIST = ginac.pc GiNaC.spec $(BUILD_HELPERS)
 
 # Rule to build tar-bzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
 
 # Rule to build RPM distribution package
 rpm: $(PACKAGE)-$(VERSION).tar.gz
-       rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz
+       rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
+
+ACLOCAL_AMFLAGS = -I m4