[BACK]Return to bsd.prog.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / mk

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/share/mk/bsd.prog.mk between version 1.1.1.1 and 1.3

version 1.1.1.1, 1993/03/21 09:45:37 version 1.3, 1993/03/23 07:26:55
Line 153  lint: ${SRCS} _PROGSUBDIR
Line 153  lint: ${SRCS} _PROGSUBDIR
 obj: _PROGSUBDIR  obj: _PROGSUBDIR
 .else  .else
 obj: _PROGSUBDIR  obj: _PROGSUBDIR
         @cd ${.CURDIR}; rm -rf obj; \          @cd ${.CURDIR}; rm -f obj > /dev/null 2>&1 || true; \
         here=`pwd`; dest=/usr/obj/`echo $$here | sed 's,/usr/src/,,'`; \          here=`pwd`; subdir=`echo $$here | sed 's,^/usr/src/,,'`; \
         echo "$$here -> $$dest"; ln -s $$dest obj; \          if test $$here != $$subdir ; then \
         if test -d /usr/obj -a ! -d $$dest; then \                  dest=/usr/obj/$$subdir ; \
                 mkdir -p $$dest; \                  echo "$$here -> $$dest"; ln -s $$dest obj; \
                   if test -d /usr/obj -a ! -d $$dest; then \
                           mkdir -p $$dest; \
                   else \
                           true; \
                   fi; \
         else \          else \
                 true; \                  true ; \
                   dest=$$here/obj ; \
                   echo "making $$here/obj" ; \
                   if test ! -d obj ; then \
                           mkdir $$here/obj; \
                   fi ; \
         fi;          fi;
 .endif  .endif
 .endif  .endif

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>