]> the.earth.li Git - onak.git/commitdiff
Make Makefile cleanup keyd and backend db .o files.
authorJonathan McDowell <noodles@earth.li>
Mon, 27 Sep 2004 22:34:47 +0000 (22:34 +0000)
committerJonathan McDowell <noodles@earth.li>
Mon, 27 Sep 2004 22:34:47 +0000 (22:34 +0000)
We weren't cleaning up keyd.o and keydb_$(DBTYPE).o with "make clean"
when keyd was enabled; fix this.

Makefile.in

index 896711cea1cc7779c776ebd3400d7aee1cfe530f..cab1f82efc658390b0329244440f9d4d0d1069e9 100644 (file)
@@ -83,9 +83,12 @@ onak.conf: onak.conf.in
                < onak.conf.in > onak.conf
 
 clean:
-       $(RM) -f $(PROGS) $(OBJS) Makefile.bak testparse maxpath *.core core \
+       $(RM) $(PROGS) $(OBJS) Makefile.bak testparse maxpath *.core core \
                gpgwww.o add.o lookup.o main.o maxpath.o onak.o sixdegrees \
                sixdegrees.o splitkeys.o stripkey.o onak.conf
+ifeq (x@KEYD@, xyes)
+       $(RM) keyd.o keydb_$(DBTYPE).o
+endif
 
 distclean: clean
        $(RM) -f Makefile .depend config.{log,status,h}