|
@ -128,8 +128,8 @@ define perlmod/Install |
|
|
@echo "---> Stripping modules in: $(strip $(1))$(PERL_SITELIB)" |
|
|
@echo "---> Stripping modules in: $(strip $(1))$(PERL_SITELIB)" |
|
|
find $(strip $(1))$(PERL_SITELIB) -name \*.pm -or -name \*.pl | \
|
|
|
find $(strip $(1))$(PERL_SITELIB) -name \*.pm -or -name \*.pl | \
|
|
|
xargs -r sed -i \
|
|
|
xargs -r sed -i \
|
|
|
-e '/^=\(head\|pod\|item\|over\|back\|encoding\)/,/^=cut/d' \
|
|
|
|
|
|
-e '/^=\(head\|pod\|item\|over\|back\|encoding\)/,$$$$d' \
|
|
|
|
|
|
|
|
|
-e '/^=\(head\|pod\|item\|over\|back\|encoding\|begin\|end\|for\)/,/^=cut/d' \
|
|
|
|
|
|
-e '/^=\(head\|pod\|item\|over\|back\|encoding\|begin\|end\|for\)/,$$$$d' \
|
|
|
-e '/^#$$$$/d' \
|
|
|
-e '/^#$$$$/d' \
|
|
|
-e '/^#[^!"'"'"']/d' |
|
|
-e '/^#[^!"'"'"']/d' |
|
|
endef |
|
|
endef |
|
|