]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
tubik: minor Makefile cleanups
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 25 Sep 2010 19:28:37 +0000 (15:28 -0400)
committerDerrick Brashear <shadow@dementia.org>
Tue, 5 Oct 2010 19:18:01 +0000 (12:18 -0700)
Rework the install targets for udebug to avoid warnings in the case
where afssrvbindir = bindir

Remove commented out compile line for udebug

Reviewed-on: http://gerrit.openafs.org/2851
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit e6c9cf2466e849753db99b48b0da26665ef0a0e3)
Change-Id: Iab023770f7d28f2e8b205ae5572d12e2c14dd742
Reviewed-on: http://gerrit.openafs.org/2927
Tested-by: Derrick Brashear <shadow@dementia.org>
src/tubik/Makefile.in

index 6207975e241fbd8e0b5fd50a75af123ad1404c65..4e73de70053c1026d28fd10fea03f6b2cea1638b 100644 (file)
@@ -175,8 +175,6 @@ utst_client.o: ${srcdir}/utst_client.c
 udebug.o: ${srcdir}/udebug.c
        ${CCRULE}
 
-#      ${CC} ${CFLAGS} -I. -I${TOP_INCDIR} -I${TOP_INCDIR}/afs -c ${srcdir}/udebug.c
-
 uerrors.o: uerrors.c
        ${CCRULE}
 
@@ -236,10 +234,9 @@ ubik_int.xdr.o: ubik_int.xdr.c
 #
 test: all
 
-install: \
-       ${DESTDIR}${libdir}/libubik_pthread.a \
-       ${DESTDIR}${bindir}/udebug \
-       ${DESTDIR}${afssrvbindir}/udebug
+install: ${DESTDIR}${libdir}/libubik_pthread.a udebug
+       ${INSTALL} udebug ${DESTDIR}${bindir}/udebug
+       ${INSTALL} udebug ${DESTDIR}${afssrvbindir}/udebug
 
 ${DEST}/bin/udebug ${DEST}/root.server/usr/afs/bin/udebug: udebug
        ${INSTALL} $? $@
@@ -281,12 +278,6 @@ ${DESTDIR}${includedir}/ubik_int.h: ubik_int.h
 ${TOP_INCDIR}/ubik_int.h: ubik_int.h
        ${INSTALL} $? $@
 
-${DESTDIR}${bindir}/udebug: udebug
-       ${INSTALL} $? $@
-
-${DESTDIR}${afssrvbindir}/udebug: udebug
-       ${INSTALL} $? $@
-
 dest: \
        ${DEST}/lib/libubik_pthread.a \
        ${DEST}/bin/udebug \