]> www.ginac.de Git - ginac.git/blobdiff - Makefile.am
- Call `ginac-config --version` only once and safe the result.
[ginac.git] / Makefile.am
index 192308cef7b1b17b50c987b59fcbedce778709a8..54fb5868b25fea36e38298f52f266f1bdb82068d 100644 (file)
@@ -1,6 +1,6 @@
 ## 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
@@ -8,17 +8,19 @@ AUTOMAKE_OPTIONS = 1.4
 # GiNaC runtime configuration script
 bin_SCRIPTS = ginac-config
 
-# All the rest of the distributed files
-EXTRA_DIST = autogen.sh ginac.m4
+# Man pages
+man_MANS = ginac-config.1
 
 # M4 macro file for inclusion with autoconf
 m4datadir = $(datadir)/aclocal
 m4data_DATA = ginac.m4
 
+# All the rest of the distributed files
+EXTRA_DIST = ginac.m4 GiNaC.spec
+
 # Rule to build tar-bzipped distribution package
-$(PACKAGE)-$(VERSION).tar.bz2: dist
+$(PACKAGE)-$(VERSION).tar.gz: dist
 
 # Rule to build RPM distribution package
 rpm: $(PACKAGE)-$(VERSION).tar.gz
-       cp $(PACKAGE)-$(VERSRION).tar.gz /usr/src/redhat/SOURCES
-       rpm -ba GiNaC.spec
+       rpm -ta --clean $(PACKAGE)-$(VERSION).tar.gz