]> www.ginac.de Git - ginac.git/blobdiff - Makefile.am
[bugfix] normalize_in_ring: don't set the leading coefficient to 1.
[ginac.git] / Makefile.am
index 2f5ce75891176aeb8f65b523675181428815badd..0a4dca80db872753fdfc7b1214fa671bb2e9cc2a 100644 (file)
@@ -1,2 +1,18 @@
 ## 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
+
+# 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