|
@ -129,9 +129,7 @@ define perlmod/Install/NoStrip |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define perlmod/Install |
|
|
|
|
|
$(call perlmod/Install/NoStrip,$(1),$(2),$(3)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define perlmod/_DoStrip |
|
|
@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 \
|
|
@ -141,6 +139,12 @@ define perlmod/Install |
|
|
-e '/^#[^!"'"'"']/d' |
|
|
-e '/^#[^!"'"'"']/d' |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define perlmod/Install |
|
|
|
|
|
$(call perlmod/Install/NoStrip,$(1),$(2),$(3)) |
|
|
|
|
|
|
|
|
|
|
|
$(if $(CONFIG_PERL_NOCOMMENT),$(if $(PKG_LEAVE_COMMENTS),,$(call perlmod/_DoStrip,$(1),$(2),$(3)))) |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
# You probably don't want to use this directly. Look at perlmod/InstallTests
|
|
|
# You probably don't want to use this directly. Look at perlmod/InstallTests
|
|
|
define perlmod/_InstallTests |
|
|
define perlmod/_InstallTests |
|
|
$(INSTALL_DIR) $(strip $(1)) |
|
|
$(INSTALL_DIR) $(strip $(1)) |
|
|