From: Robin Barker Date: Thu, 14 Jul 2005 15:27:00 +0000 (+0000) Subject: RE: rebuilding lib/Config* X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c27f7bb19ed70199b789b7325cf4ff71db5ab4c6;p=p5sagit%2Fp5-mst-13.2.git RE: rebuilding lib/Config* Message-ID: <533D273D4014D411AB1D00062938C4D90849C733@hotel.npl.co.uk> p4raw-id: //depot/perl@25192 --- diff --git a/Makefile.SH b/Makefile.SH index fa075db..682698f 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -304,7 +304,7 @@ CCCMD = `sh $(shellflags) cflags "optimize='$(OPTIMIZE)'" $@` CCCMDSRC = `sh $(shellflags) cflags "optimize='$(OPTIMIZE)'" $<` CONFIGPM = lib/Config.pm lib/Config_heavy.pl -private = preplibrary $(CONFIGPM) lib/ExtUtils/Miniperl.pm +private = preplibrary $(CONFIGPM) lib/Config.pod lib/ExtUtils/Miniperl.pm # Files to be built with variable substitution before miniperl # is available. @@ -766,14 +766,10 @@ preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL) autosplit_lib_modules(@ARGV)' lib/*/*.pm $(MAKE) lib/re.pm -# Take care to avoid modifying lib/Config.pm without reason -# (If trying to create a new port and having problems with the configpm script, -# try 'make minitest' and/or commenting out the tests at the end of configpm.) -$(CONFIGPM): config.sh miniperl$(EXE_EXT) configpm Porting/Glossary - $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl configpm.tmp - sh mv-if-diff configpm.tmp lib/Config.pm +lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary + $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm -lib/Config.pm: lib/Config_heavy.pl +$(CONFIGPM): lib/Config.pod lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM) $(LDLIBPTH) ./miniperl minimod.pl > minimod.tmp @@ -1033,7 +1029,7 @@ _cleaner2: rm -f so_locations $(LIBPERL_NONSHR) $(MINIPERL_NONSHR) rm -rf $(addedbyconf) rm -f $(FIRSTMAKEFILE) $(FIRSTMAKEFILE).old makefile.old - rm -f $(private) lib/Config.pod + rm -f $(private) rm -rf $(unidatafiles) $(unidatadirs) rm -rf lib/auto rm -f lib/.exists lib/*/.exists lib/*/*/.exists