]> www.ginac.de Git - ginac.git/blobdiff - cint/Makefile.in
- */Makefile.in: changes triggered by newer automake.
[ginac.git] / cint / Makefile.in
index 00851a0a60fed183111935b70ad6faddaa11f1c5..acbcb7935e784977be73fdaaa3ad23f234180ff2 100644 (file)
@@ -341,7 +341,7 @@ distdir: $(DISTFILES)
        @for file in $(DISTFILES); do \
          d=$(srcdir); \
          if test -d $$d/$$file; then \
-           cp -pr $$/$$file $(distdir)/$$file; \
+           cp -pr $$d/$$file $(distdir)/$$file; \
          else \
            test -f $(distdir)/$$file \
            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
@@ -496,15 +496,19 @@ ginaccint.bin: libginac.la ginaccint.bin.cpp
 
 # Files which are generated by perl scripts
 $(srcdir)/dummies.h $(srcdir)/dummies.cpp: $(srcdir)/dummies.pl
-       cd $(srcdir) && perl dummies.pl
+       cd $(srcdir) && perl -w dummies.pl
 
 # Force build of headers before compilation
 $(srcdir)/ginaccint.bin.cpp: $(srcdir)/dummies.h
 
-# Force make clean to call Makecint's own Makefile
+# Force targets clean and distclean to call Makecint's own Makefile
 makecint_clean:
        (if [ -f Makefile.makecint ]; then $(MAKE) -f Makefile.makecint clean; fi)
+
 clean: makecint_clean
+       -rm -f libginac.*
+
+distclean: makecint_clean
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.