Modified instrules so that the functionality of instlinks is that
system links are not made to point to links, rather the real files. So links installed on a system are pointing to platform specific files rather than links that may be pointing to files of the wrong platform type.
This commit is contained in:
@@ -117,7 +117,6 @@ instcleandev :
|
||||
fi\
|
||||
done
|
||||
|
||||
|
||||
__install :
|
||||
@[ -n "$(INSTSRC)" ] || echo "Internal error (INSTSRC definition)"
|
||||
@[ -n "$(INSTSRC)" ] && echo > /dev/null
|
||||
@@ -131,13 +130,23 @@ __install :
|
||||
do\
|
||||
if [ -f $$f ] ; \
|
||||
then \
|
||||
echo $(INSTALL) $$THISDIR/$$f $(INSTDEST)/$$f;\
|
||||
$(INSTALL) $$THISDIR/$$f $(INSTDEST)/$$f;\
|
||||
INSTPATH=$$THISDIR/$$f; \
|
||||
while [ -L $$INSTPATH ]; \
|
||||
do \
|
||||
ll=`ls -l $$INSTPATH | cut -f2 -d">"`;\
|
||||
echo cd `dirname $$ll`;\
|
||||
cd `dirname $$ll`;\
|
||||
INSTPATH="`pwd`"/"`basename $$ll`";\
|
||||
cd $$THISDIR;\
|
||||
done;\
|
||||
echo $(INSTALL) $$INSTPATH $(INSTDEST)/$$f;\
|
||||
$(INSTALL) $$INSTPATH $(INSTDEST)/$$f;\
|
||||
fi\
|
||||
done\
|
||||
fi
|
||||
|
||||
|
||||
|
||||
__instclean :
|
||||
@[ -n "$(INSTSRC)" ] || echo "Internal error (INSTSRC definition)"
|
||||
@[ -n "$(INSTSRC)" ] && echo > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user