]> www.ginac.de Git - ginac.git/blobdiff - Makefile.am
- Corrected use of macro AM_PATH_GINAC.
[ginac.git] / Makefile.am
index 328100460c9c665c7606383bb2642257e5d65711..fec6552ee80e15c3628f88ae8dbfe6a80f5ec99a 100644 (file)
@@ -1,5 +1,6 @@
 ## Process this file with automake to produce Makefile.in
-SUBDIRS = ginac check ginsh doc
+SUBDIRS = ginac check ginsh tools @GINACCINTDIR@ doc
+DIST_SUBDIRS = cint ginac check ginsh tools doc
 
 # Requires automake 1.4
 AUTOMAKE_OPTIONS = 1.4
@@ -8,16 +9,15 @@ AUTOMAKE_OPTIONS = 1.4
 bin_SCRIPTS = ginac-config
 
 # All the rest of the distributed files
-EXTRA_DIST = autogen.sh ginac.m4
+EXTRA_DIST = ginac.m4 GiNaC.spec
 
 # M4 macro file for inclusion with autoconf
 m4datadir = $(datadir)/aclocal
 m4data_DATA = ginac.m4
 
-# Rule to build tar-gzipped distribution package
+# Rule to build tar-bzipped distribution package
 $(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 --tarball a $(PACKAGE)-$(VERSION).tar.gz