]> www.ginac.de Git - ginac.git/blobdiff - Makefile.am
* Update to Standards-Version 3.6.2.
[ginac.git] / Makefile.am
index e451f9d544bbfd8cb5159112dce0f6650d55b213..b30fe2d2731adb502b6dd94a55eb28db75061607 100644 (file)
@@ -1,12 +1,11 @@
 ## Process this file with automake to produce Makefile.in
-SUBDIRS = ginac check ginsh tools @GINACCINTDIR@ doc
-DIST_SUBDIRS = cint ginac check ginsh tools doc
-
-# Requires automake 1.4
-AUTOMAKE_OPTIONS = 1.4
+SUBDIRS = ginac check ginsh tools doc
+DIST_SUBDIRS = ginac check ginsh tools doc
 
 # GiNaC runtime configuration script
 bin_SCRIPTS = ginac-config
+BUILT_SOURCES = ginac-config
+ginac-config: ginac-config.in
 
 # Man pages
 man_MANS = ginac-config.1
@@ -15,12 +14,17 @@ man_MANS = ginac-config.1
 m4datadir = $(datadir)/aclocal
 m4data_DATA = ginac.m4
 
+# pkg-config metadata
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = ginac.pc
+$(pkgconfig_DATA): config.status
+
 # All the rest of the distributed files
-EXTRA_DIST = ginac.m4 GiNaC.spec
+EXTRA_DIST = ginac.m4 ginac.pc GiNaC.spec depcomp
 
 # Rule to build tar-bzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
 
 # Rule to build RPM distribution package
 rpm: $(PACKAGE)-$(VERSION).tar.gz
-       rpm --tarball a $(PACKAGE)-$(VERSION).tar.gz
+       rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz