From 535ab6abb5d606afdbd9c50699fd861b301ba600 Mon Sep 17 00:00:00 2001
From: Jonathan McDowell <noodles@earth.li>
Date: Mon, 27 Sep 2004 22:34:47 +0000
Subject: [PATCH 1/1] Make Makefile cleanup keyd and backend db .o files. We
 weren't cleaning up keyd.o and keydb_$(DBTYPE).o with "make clean" when keyd
 was enabled; fix this.

---
 Makefile.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 896711c..cab1f82 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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}
-- 
2.39.5