Fixed the permission problem with nsinstall'd binary files, and added rules to make

sure shared libraries also get copied into $(DIST)/lib (where they're *supposed* to go).
This commit is contained in:
briano%netscape.com 1999-03-09 01:20:03 +00:00
parent 2d06832ff4
commit 558fd05cc4

View File

@ -327,16 +327,18 @@ ifdef MAPS
endif endif
ifdef SHARED_LIBRARY ifdef SHARED_LIBRARY
ifdef IS_COMPONENT ifdef IS_COMPONENT
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/lib/components
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin/components $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin/components
else else
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/lib
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
endif endif
endif endif
ifdef PROGRAM ifdef PROGRAM
$(INSTALL) -m 444 $(PROGRAM) $(DIST)/bin $(INSTALL) -m 555 $(PROGRAM) $(DIST)/bin
endif endif
ifdef SIMPLE_PROGRAMS ifdef SIMPLE_PROGRAMS
$(INSTALL) -m 444 $(SIMPLE_PROGRAMS) $(DIST)/bin $(INSTALL) -m 555 $(SIMPLE_PROGRAMS) $(DIST)/bin
endif endif
+$(LOOP_OVER_DIRS) +$(LOOP_OVER_DIRS)
else else
@ -348,8 +350,10 @@ endif
endif endif
ifdef SHARED_LIBRARY ifdef SHARED_LIBRARY
ifdef IS_COMPONENT ifdef IS_COMPONENT
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/lib/components
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin/components $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin/components
else else
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/lib
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
endif endif
endif endif
@ -360,10 +364,10 @@ ifdef MAPS
$(INSTALL) -m 444 $(MAPS) $(DIST)/bin $(INSTALL) -m 444 $(MAPS) $(DIST)/bin
endif endif
ifdef PROGRAM ifdef PROGRAM
$(INSTALL) -m 444 $(PROGRAM) $(DIST)/bin $(INSTALL) -m 555 $(PROGRAM) $(DIST)/bin
endif endif
ifdef SIMPLE_PROGRAMS ifdef SIMPLE_PROGRAMS
$(INSTALL) -m 444 $(SIMPLE_PROGRAMS) $(DIST)/bin $(INSTALL) -m 555 $(SIMPLE_PROGRAMS) $(DIST)/bin
endif endif
+$(LOOP_OVER_DIRS) +$(LOOP_OVER_DIRS)
endif endif