From c74111d4cadc6315a1a424d1b9f755e18d313107 Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 7 Jan 2002 13:40:21 +0000 Subject: added debug mode for the whole install --- perl-install/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install') 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) -- cgit v1.2.1