mirror of
https://github.com/curl/curl.git
synced 2026-06-08 07:04:16 +03:00
am replace stray $(PERL) with @PERL@
This commit is contained in:
parent
e4a4c5ed1a
commit
979132f019
4 changed files with 8 additions and 8 deletions
|
|
@ -172,7 +172,7 @@ rpms:
|
|||
$(MAKE) RPMDIST=curl-ssl rpm
|
||||
|
||||
rpm:
|
||||
RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
|
||||
RPM_TOPDIR=`rpm --showrc | @PERL@ -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
|
||||
cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
|
||||
cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
|
||||
rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
|
||||
|
|
|
|||
|
|
@ -152,9 +152,9 @@ $(HUGE): $(ASCIIPAGE) $(MKHELP)
|
|||
echo '/* !checksrc! disable LONGLINE all */' >> $(HUGE); \
|
||||
echo '#include "tool_setup.h"' >> $(HUGE); \
|
||||
echo '#ifndef HAVE_LIBZ' >> $(HUGE); \
|
||||
$(PERL) $(MKHELP) < $(ASCIIPAGE) >> $(HUGE); \
|
||||
@PERL@ $(MKHELP) < $(ASCIIPAGE) >> $(HUGE); \
|
||||
echo '#else' >> $(HUGE); \
|
||||
$(PERL) $(MKHELP) -c < $(ASCIIPAGE) >> $(HUGE); \
|
||||
@PERL@ $(MKHELP) -c < $(ASCIIPAGE) >> $(HUGE); \
|
||||
echo '#endif /* HAVE_LIBZ */' >> $(HUGE) )
|
||||
else # HAVE_LIBZ
|
||||
# This generates the tool_hugehelp.c file uncompressed only
|
||||
|
|
@ -162,7 +162,7 @@ $(HUGE): $(ASCIIPAGE) $(MKHELP)
|
|||
$(HUGECMD)( \
|
||||
echo '/* !checksrc! disable COPYRIGHT all */' > $(HUGE); \
|
||||
echo '#include "tool_setup.h"' >> $(HUGE); \
|
||||
$(PERL) $(MKHELP) < $(ASCIIPAGE) >> $(HUGE) )
|
||||
@PERL@ $(MKHELP) < $(ASCIIPAGE) >> $(HUGE) )
|
||||
endif
|
||||
else # PERL
|
||||
$(HUGE):
|
||||
|
|
@ -196,7 +196,7 @@ if CURL_CA_EMBED_SET
|
|||
curl_CPPFLAGS += -DCURL_CA_EMBED
|
||||
MK_FILE_EMBED = $(top_srcdir)/src/mk-file-embed.pl
|
||||
$(CA_EMBED_CSOURCE): $(MK_FILE_EMBED) $(CURL_CA_EMBED)
|
||||
$(PERL) $(MK_FILE_EMBED) --var curl_ca_embed < $(CURL_CA_EMBED) > $(CA_EMBED_CSOURCE)
|
||||
@PERL@ $(MK_FILE_EMBED) --var curl_ca_embed < $(CURL_CA_EMBED) > $(CA_EMBED_CSOURCE)
|
||||
else
|
||||
$(CA_EMBED_CSOURCE):
|
||||
echo '/* !checksrc! disable COPYRIGHT all */' > $(CA_EMBED_CSOURCE)
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ else
|
|||
TEST_COMMON += !documentation
|
||||
endif
|
||||
|
||||
TEST = srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl $(TEST_COMMON)
|
||||
TEST = srcdir=$(srcdir) @PERL@ $(PERLFLAGS) $(srcdir)/runtests.pl $(TEST_COMMON)
|
||||
TEST_Q = -a -s
|
||||
TEST_AM = -a -am
|
||||
TEST_F = -a -p -r
|
||||
|
|
@ -136,7 +136,7 @@ endif
|
|||
|
||||
# make sure that PERL is pointing to an executable
|
||||
perlcheck:
|
||||
@if ! test -x "$(PERL)"; then echo "No perl!"; exit 2; fi
|
||||
@if ! test -x "@PERL@"; then echo "No perl!"; exit 2; fi
|
||||
|
||||
build-certs: perlcheck
|
||||
(cd certs && $(MAKE))
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ all-am: test-ca.cacert
|
|||
# Generate all certs in a single shot, but declare just a single target file
|
||||
# to support GNU Make <4.3 without the "grouped explicit targets" feature.
|
||||
test-ca.cacert: $(CERTCONFIG_CA) $(CERTCONFIGS) genserv.pl
|
||||
$(PERL) $(srcdir)/genserv.pl test $(CERTCONFIGS)
|
||||
@PERL@ $(srcdir)/genserv.pl test $(CERTCONFIGS)
|
||||
|
||||
clean-local:
|
||||
rm -f $(GENERATEDCERTS) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue