[build] last optimisation broke the dlog() switch. fix.
authorroot <root@xa-s05.(none)>
Wed, 24 Aug 2005 10:16:38 +0000 (12:16 +0200)
committerroot <root@xa-s05.(none)>
Wed, 24 Aug 2005 10:16:38 +0000 (12:16 +0200)
dlog() contains #if DAEMON statements.

So debug.o needs rebuild between multipath(8) and multipathd(8) builds,
which did not happen anymore since the last optimisation.

libmultipath/Makefile

index c3c2ee3..163271b 100644 (file)
@@ -21,12 +21,14 @@ endif
 all: $(BUILD)
 
 prepare:
+       @rm -f debug.o
        @file *-$(BUILD).a >/dev/null 2>&1 || rm -f core *.o *.gz
+       @rm -f *-$(BUILD).a
 
-klibc: prepare $(OBJS)
+klibc: $(OBJS)
        ar rs libmultipath-klibc.a *.o
 
-glibc: prepare $(OBJS)
+glibc: $(OBJS)
        ar rs libmultipath-glibc.a *.o
 
 install: