Date:	Wednesday September 24, 2003 @ 5:08
Author:	cameron

Update of /home/netrek/cvsroot/Vanilla/robotd
In directory swashbuckler.real-time.com:/var/tmp/cvs-serv16150

Modified Files:
	Makefile.in 
Log Message:
fix install target failure due to DESTDIR not set

****************************************

Index: Vanilla/robotd/Makefile.in
diff -u Vanilla/robotd/Makefile.in:1.2 Vanilla/robotd/Makefile.in:1.3
--- Vanilla/robotd/Makefile.in:1.2	Mon Apr 30 04:34:36 2001
+++ Vanilla/robotd/Makefile.in	Wed Sep 24 05:08:30 2003
@@ -4,6 +4,8 @@
 
 VPATH = @srcdir@
 srcdir = @srcdir@
+CONFIG = system.mk
+include ../$(CONFIG)
 
 .PHONY: clean reallyclean install checkin checkout tar dist depend
 
@@ -105,10 +107,9 @@
 	$(CC) $(CFLAGS) ${LDFLAGS} -o robot $(R_OBJS) $(INPUT) $(LIBS) $(EXTRALIBS)
 
 install:	robot
-	-mkdir $(DESTDIR)
-	-mv $(DESTDIR)/robot $(DESTDIR)/robot.old
-	cp robot $(DESTDIR)/robot
-	if [ -d ${srcdir}/og -a `ls -a ${srcdir}/og | wc -l ` != 2 ]; then cp ${srcdir}/og/* $(DESTDIR); fi
+	-mkdir $(DESTDIR)$(LIBDIR)
+	cp robot $(DESTDIR)$(LIBDIR)/robot
+	if [ -d ${srcdir}/og -a `ls -a ${srcdir}/og | wc -l ` != 2 ]; then cp ${srcdir}/og/* $(DESTDIR)$(LIBDIR); fi
 
 
 _robot: $(R_OBJS) $(INPUT)

_______________________________________________
vanilla-devel mailing list
vanilla-devel at us.netrek.org
https://mailman.real-time.com/mailman/listinfo/vanilla-devel