]> www.ginac.de Git - ginac.git/blobdiff - Makefile.am
fsolve: avoid useless numerical evaluation of the function
[ginac.git] / Makefile.am
index 4262ecc4b00b330d35998c44a10926b07ef6f0ed..e8bec987a33c0a237ddb48a8a98390a94a118167 100644 (file)
@@ -1,5 +1,20 @@
 ## Process this file with automake to produce Makefile.in
-SUBDIRS = ginac check ginsh 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
+
+# All the rest of the distributed files
+EXTRA_DIST = ginac.pc GiNaC.spec
+
+# Rule to build tar-bzipped distribution package
+$(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