File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 13
13
14
14
all check install installdirs installcheck uninstall dep depend clean distclean maintainer-clean :
15
15
@if ! [ -f GNUmakefile ] ; then \
16
- echo " You need to run the \` configure' program first. See the file" ; \
17
- echo " \` INSTALL' for installation instructions." ; \
16
+ echo " You need to run the ' configure' program first. See the file" ; \
17
+ echo " ' INSTALL' for installation instructions." ; \
18
18
false ; \
19
19
fi
20
20
@IFS=' :' ; \
21
21
for dir in $$ PATH; do \
22
22
for prog in gmake gnumake make; do \
23
- if [ -f $$ dir/$$ prog ] && ( $$ dir/$$ prog --version 2> /dev/null | grep GNU > /dev/null 2>&1 ) ; then \
23
+ if [ -f $$ dir/$$ prog ] && ( $$ dir/$$ prog -f /dev/null - -version 2> /dev/null | grep GNU > /dev/null 2>&1 ) ; then \
24
24
GMAKE=$$ dir/$$ prog; \
25
25
break 2; \
26
26
fi ; \
Original file line number Diff line number Diff line change 11
11
# GNUmakefile won't exist yet, so we catch that case as well.
12
12
13
13
14
- all install clean dep depend distclean maintainer-clean :
14
+ all check install installdirs installcheck uninstall dep depend clean distclean maintainer-clean :
15
15
@if ! [ -f GNUmakefile ] ; then \
16
- echo " You need to run the \` configure' program first. See the file" ; \
17
- echo " \` INSTALL' for installation instructions." ; \
16
+ echo " You need to run the ' configure' program first. See the file" ; \
17
+ echo " ' INSTALL' for installation instructions." ; \
18
18
false ; \
19
19
fi
20
20
@IFS=' :' ; \
21
21
for dir in $$ PATH; do \
22
22
for prog in gmake gnumake make; do \
23
- if [ -f $$ dir/$$ prog ] && ( $$ dir/$$ prog -- version | grep GNU > /dev/null 2>&1 ) ; then \
23
+ if [ -f $$ dir/$$ prog ] && ( $$ dir/$$ prog -f /dev/null -- version 2> /dev/null | grep GNU > /dev/null 2>&1 ) ; then \
24
24
GMAKE=$$ dir/$$ prog; \
25
25
break 2; \
26
26
fi ; \
You can’t perform that action at this time.
0 commit comments