projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace sed command with perl
[openssl.git]
/
Configurations
/
unix-Makefile.tmpl
diff --git
a/Configurations/unix-Makefile.tmpl
b/Configurations/unix-Makefile.tmpl
index 425804db1f642a78009cb21d2a63cf115043b64d..1923acc2f265d54e2add96632cc430e00755c1d3 100644
(file)
--- a/
Configurations/unix-Makefile.tmpl
+++ b/
Configurations/unix-Makefile.tmpl
@@
-492,11
+492,11
@@
uninstall_runtime:
# A method to extract all names from a .pod file
# The first sed extracts everything between "=head1 NAME" and the next =head1
# A method to extract all names from a .pod file
# The first sed extracts everything between "=head1 NAME" and the next =head1
-# The
second se
d joins all the lines into one
-# The
thir
d sed removes the description and turns all commas into spaces
+# The
perl comman
d joins all the lines into one
+# The
secon
d sed removes the description and turns all commas into spaces
# VoilĂ , you have a space separated list of names!
EXTRACT_NAMES=sed -e '1,/^=head1 *NAME *$$/d;/^=head1/,$$d' | \
# VoilĂ , you have a space separated list of names!
EXTRACT_NAMES=sed -e '1,/^=head1 *NAME *$$/d;/^=head1/,$$d' | \
-
sed -e ':a;{N;s/\n/ /;ba
}' | \
+
$(PERL) -p -0 -e 's/\n/ /g; END {print "\n"
}' | \
sed -e 's/ - .*$$//;s/,/ /g'
PROCESS_PODS=\
set -e; \
sed -e 's/ - .*$$//;s/,/ /g'
PROCESS_PODS=\
set -e; \