[singular] 19/45: add working 'all' target to Makefile.in

felix salfelder felix-guest at alioth.debian.org
Sat Sep 14 13:57:04 UTC 2013


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master-3-1-5
in repository singular.

commit 9c16b70de368bf955f52372a4a6604aa8275dac1
Author: Felix Salfelder <felix at salfelder.org>
Date:   Thu Feb 16 11:07:25 2012 +0100

    add working 'all' target to Makefile.in
    
    now 'make\ {all,install}' works as usual and expected
---
 Makefile.in |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 0d6db8f..f2eaa65 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,8 +24,12 @@ GUNZIP		= @GUNZIP@
 
 ##############################################################
 # default target
-${SINGULAR}:
-	${MAKE} install
+all:
+	@ for SUBDIR in ${BUILD1_SUBDIRS}; \
+	do \
+	  echo ${MAKE} all in $${SUBDIR}; \
+	  ${MAKE} -C $$SUBDIR || exit 1; \
+	done
 
 ##############################################################
 # general targets
@@ -34,7 +38,7 @@ ${SINGULAR}:
 
 TEXINFO_TEX_FILES = epsf.tex texinfo.tex txi-cs.tex txi-de.tex txi-no.tex
 TEXINFO_TEX_DIR = Texinfo/doc
-all:
+original_all:
 	echo For everybody who did not read the README: use make install
 	exit 1
 
@@ -42,7 +46,7 @@ install install_all:
 	@ for SUBDIR in ${BUILD1_SUBDIRS}; \
 	do \
 	  echo ${MAKE} $@ in $${SUBDIR}; \
-	  (cd $${SUBDIR} && ${MAKE} $@ ) || exit 1;\
+	  ${MAKE} -C $$SUBDIR $@ || exit 1 ;\
 	  (if test "$${SUBDIR}" = Texinfo && test -d doc; then \
 		for FILE in ${TEXINFO_TEX_FILES}; \
 		do \
@@ -62,7 +66,7 @@ install-nolns:
 	@ for SUBDIR in ${BUILD1_SUBDIRS}; \
 	do \
 	  echo ${MAKE} $@ in $${SUBDIR}; \
-	  (cd $${SUBDIR} && ${MAKE} $@ )  || exit 1;\
+	  ${MAKE} -C $$SUBDIR $@ ;\
 	  (if test "$${SUBDIR}" = Texinfo && test -d doc; then \
 	    for FILE in ${TEXINFO_TEX_FILES}; \
 	    do \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/singular.git



More information about the debian-science-commits mailing list