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

felix salfelder felix-guest at moszumanska.debian.org
Mon May 26 13:18:10 UTC 2014


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

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

commit 3fb0860f213ea61eb9e6853cabb16d93a6d7296a
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
    
    Forwarded: not-needed
---
 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