]> www.ginac.de Git - ginac.git/blobdiff - Makefile.am
Revert "[portability] GiNaC::compile_ex works on OpenBSD now."
[ginac.git] / Makefile.am
index 6f8e63fed9287517021f783a05618865881fc411..e8bec987a33c0a237ddb48a8a98390a94a118167 100644 (file)
@@ -2,21 +2,13 @@
 SUBDIRS = ginac check ginsh tools doc
 DIST_SUBDIRS = ginac check ginsh tools doc
 
-# Requires automake 1.4
-AUTOMAKE_OPTIONS = 1.4
-
-# 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
+# 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 depcomp
+EXTRA_DIST = ginac.pc GiNaC.spec
 
 # Rule to build tar-bzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
@@ -24,3 +16,5 @@ $(PACKAGE)-$(VERSION).tar.gz: dist
 # Rule to build RPM distribution package
 rpm: $(PACKAGE)-$(VERSION).tar.gz
        rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
+
+ACLOCAL_AMFLAGS = -I m4