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