summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-01-07 13:40:21 +0000
committerdamien <damien@mandriva.com>2002-01-07 13:40:21 +0000
commitc74111d4cadc6315a1a424d1b9f755e18d313107 (patch)
tree624a65fb77fc9afd8e4961e9b3ba7a791012de2f /perl-install/Makefile
parent5e9ab4fec76c330188ee09817d34930e89f10f57 (diff)
downloaddrakx-backup-do-not-use-c74111d4cadc6315a1a424d1b9f755e18d313107.tar
drakx-backup-do-not-use-c74111d4cadc6315a1a424d1b9f755e18d313107.tar.gz
drakx-backup-do-not-use-c74111d4cadc6315a1a424d1b9f755e18d313107.tar.bz2
drakx-backup-do-not-use-c74111d4cadc6315a1a424d1b9f755e18d313107.tar.xz
drakx-backup-do-not-use-c74111d4cadc6315a1a424d1b9f755e18d313107.zip
added debug mode for the whole install
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index bbbcad83e..efd9b4d34 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -52,6 +52,11 @@ install_pms: $(DIRS)
perl -ne 'print' $$i > $(DESTREP4PMS)/$$i; \
perl -pe 's/#[-+].*//; $$_ = "\n" if (/^=head/ .. /^=cut/) || /use (diagnostics|vars|strict)/' $$i > $(DESTREP4PMS)/$$i; \
done
+ if [ "x$PERL_INSTALL_DEBUG" == "x" ]; then
+ perl -pe 's|#!/usr/bin/perl -d.*\n|#!/usr/bin/perl\n|' install2 > $(DESTREP4PMS)/install2
+ else
+ perl -pe 's|#!/usr/bin/perl.*\n|#!/usr/bin/perl -d \n|' install2 > $(DESTREP4PMS)/install2
+ fi
# perl -pe 's/#-.*//; $$_ = "\n" if (/^=head/ .. /^=cut/) || /use (diagnostics)/' $$i > $(DESTREP4PMS)/$$i; \
cp share/*.rc $(DESTREP4PMS)