bsd.doc.mk (1844) | bsd.doc.mk (2353) |
---|---|
1# from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91 | 1# from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91 |
2# $Id: bsd.doc.mk,v 1.7 1994/04/19 17:15:55 jkh Exp $ | 2# $Id: bsd.doc.mk,v 1.2 1994/08/04 21:09:22 wollman Exp $ |
3 4PRINTER?= ps 5 6BIB?= bib 7EQN?= eqn -T${PRINTER} 8GREMLIN?= grn 9GRIND?= vgrind -f 10INDXBIB?= indxbib --- 23 unchanged lines hidden (view full) --- 34.if defined(NOOBJ) 35obj: 36.else 37obj: 38 @cd ${.CURDIR}; rm -f obj > /dev/null 2>&1 || true; \ 39 here=`pwd`; subdir=`echo $$here | sed 's,^/usr/src/,,'`; \ 40 if test $$here != $$subdir ; then \ 41 dest=/usr/obj/$$subdir ; \ | 3 4PRINTER?= ps 5 6BIB?= bib 7EQN?= eqn -T${PRINTER} 8GREMLIN?= grn 9GRIND?= vgrind -f 10INDXBIB?= indxbib --- 23 unchanged lines hidden (view full) --- 34.if defined(NOOBJ) 35obj: 36.else 37obj: 38 @cd ${.CURDIR}; rm -f obj > /dev/null 2>&1 || true; \ 39 here=`pwd`; subdir=`echo $$here | sed 's,^/usr/src/,,'`; \ 40 if test $$here != $$subdir ; then \ 41 dest=/usr/obj/$$subdir ; \ |
42 echo "$$here -> $$dest"; ln -s $$dest obj; \ | 42 ${ECHO} "$$here -> $$dest"; ln -s $$dest obj; \ |
43 if test -d /usr/obj -a ! -d $$dest; then \ 44 mkdir -p $$dest; \ 45 else \ 46 true; \ 47 fi; \ 48 else \ 49 true ; \ 50 dest=$$here/obj ; \ | 43 if test -d /usr/obj -a ! -d $$dest; then \ 44 mkdir -p $$dest; \ 45 else \ 46 true; \ 47 fi; \ 48 else \ 49 true ; \ 50 dest=$$here/obj ; \ |
51 echo "making $$here/obj" ; \ | 51 ${ECHO} "making $$here/obj" ; \ |
52 if test ! -d obj ; then \ 53 mkdir $$here/obj; \ 54 fi ; \ 55 fi; 56.endif 57.endif 58 59clean: --- 27 unchanged lines hidden --- | 52 if test ! -d obj ; then \ 53 mkdir $$here/obj; \ 54 fi ; \ 55 fi; 56.endif 57.endif 58 59clean: --- 27 unchanged lines hidden --- |