[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 19991223.001] "make install" modifies the source directory.



On 23 Dec 1999 09:14:03 GMT, abigail@delanet.com wrote:
>I think it would be more appropriate if one of the following was done:
>  -  'make' creates the symbolic links and the program 'extra.pods'.
>  -  The symbolic links and 'extra.pods' are created in /tmp, or some
>     other place with write permission.
>  -  'make install' should tell *at the end* what has failed, not bury
>     an error message in several thousands of lines of output.

Please try this.


Sarathy
gsar@ActiveState.com
-----------------------------------8<-----------------------------------
Change 4712 by gsar@auger on 1999/12/28 02:30:55

	avoid creating new files during make install

Affected files ...

... //depot/perl/Makefile.SH#92 edit

Differences ...

==== //depot/perl/Makefile.SH#92 (text) ====
Index: perl/Makefile.SH
--- perl/Makefile.SH.~1~	Wed Jan  5 10:55:41 2000
+++ perl/Makefile.SH	Wed Jan  5 10:55:41 2000
@@ -261,7 +261,7 @@
 .c$(OBJ_EXT):
 	$(CCCMD) $(PLDLFLAGS) $*.c
 
-all: $(FIRSTMAKEFILE) miniperl $(private) $(public) $(dynamic_ext) $(nonxs_ext)
+all: $(FIRSTMAKEFILE) miniperl extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext)
 	@echo " ";
 	@echo "	Everything is up to date. 'make test' to run test suite."
 
@@ -505,7 +505,7 @@
 $(plextract):	miniperl lib/Config.pm lib/re.pm
 	$(LDLIBPTH) ./miniperl -Ilib $@.PL
 
-extra.pods: perl
+extra.pods: miniperl
 	-@test -f extra.pods && rm -f `cat extra.pods`
 	-@rm -f extra.pods
 	-@for x in `grep -l '^=[a-z]' README.*` ; do \
@@ -516,7 +516,7 @@
 
 install: all install.perl install.man
 
-install.perl:	all extra.pods installperl
+install.perl:	all installperl
 	if [ -n "$(COMPILE)" ]; \
 	then \
 		cd utils; $(MAKE) compile; \
@@ -526,7 +526,7 @@
 	fi
 	$(LDLIBPTH) ./perl installperl
 
-install.man:	all extra.pods installman
+install.man:	all installman
 	$(LDLIBPTH) ./perl installman
 
 # XXX Experimental. Hardwired values, but useful for testing.
End of Patch.


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]