record the arguments to ./configure
providea a means of seeing all the perl package dependencies
This commit is contained in:
kestes%walrus.com 2002-12-09 18:01:13 +00:00
Родитель 15866816e2
Коммит 34844381bd
1 изменённых файлов: 20 добавлений и 2 удалений

Просмотреть файл

@ -47,6 +47,13 @@ builddir=@builddir@
config_script=@config_script@ config_script=@config_script@
confdir=localconf confdir=localconf
# how to run xargs to print only one argument on a line
xargs_single=@xargs_single@
#------------------------------------------------------------
@CONFIGURE_ARGS@
# Makefile Targets # Makefile Targets
#------------------------------------------------------------ #------------------------------------------------------------
@ -81,14 +88,14 @@ compile_all_code: build
find $(builddir) -type f | \ find $(builddir) -type f | \
egrep -v -i "readme|\.gif|/test/|addimage.cgi|images.pm|bustagestats.cgi|initrc|Storable.pm" | \ egrep -v -i "readme|\.gif|/test/|addimage.cgi|images.pm|bustagestats.cgi|initrc|Storable.pm" | \
egrep -v -i "initrc|ignore_waitstatus" | \ egrep -v -i "initrc|ignore_waitstatus" | \
xargs -l perl -T -w -c xargs $(xargs_single) perl -T -w -c
compile_bin_code: build compile_bin_code: build
@echo @echo
@echo "----- Testing if perl can compile all files in the bin directory -----" @echo "----- Testing if perl can compile all files in the bin directory -----"
find $(builddir)/bin -type f | \ find $(builddir)/bin -type f | \
egrep -v -i "readme|\.gif|/test/|addimage.cgi|images.pm|bustagestats.cgi|initrc|Storable.pm" | \ egrep -v -i "readme|\.gif|/test/|addimage.cgi|images.pm|bustagestats.cgi|initrc|Storable.pm" | \
xargs -l perl -T -w -c xargs $(xargs_single) perl -T -w -c
cvskeyword_test: cvskeyword_test:
@ -114,6 +121,17 @@ link_test:
egrep -v -i "test|mage|clientbin" | \ egrep -v -i "test|mage|clientbin" | \
xargs egrep -i "<a +href" xargs egrep -i "<a +href"
check_all_use_statements:
rm file
echo '#!perl' >> file
echo >> file
find $(builddir) \
| xargs egrep -h '^use ' | egrep ';$' \
| sort -r -u \
>> $(builddir)/bin/check_all_use_statements
echo >> file
echo '1;' >> file
STAGE_FILE := \ STAGE_FILE := \
tb2StageFile() { \ tb2StageFile() { \
source=$$1; \ source=$$1; \