Only seed database for Debian install if we're using default config
[onak.git] / Makefile.in
index 39007d5831f0a8db2f65bdd45c69a813c31dbee9..546f3a81da9ed26d3eb8bb6b4d62feff65a27a8e 100644 (file)
@@ -53,10 +53,12 @@ install: $(PROGS) onak.conf $(BACKENDS)
        install -d $(DESTDIR)/@libdir@/onak/backends
        install -d $(DESTDIR)/@localstatedir@/lib/onak
        install -d $(DESTDIR)/@mandir@/man1
+       install -d $(DESTDIR)/@mandir@/man8
        install -d $(DESTDIR)/@sysconfdir@
        install onak-mail.pl $(DESTDIR)/@libdir@/onak
        install onak splitkeys $(DESTDIR)/@bindir@
        install onak.1 splitkeys.1 $(DESTDIR)/@mandir@/man1
+       install keyd.8 onak-mail.pl.8 $(DESTDIR)/@mandir@/man8
 ifeq (x@DBTYPE@, xdynamic)
        install $(BACKENDS) $(DESTDIR)/@libdir@/onak/backends
        install -d $(DESTDIR)/@sbindir@
@@ -76,9 +78,6 @@ libkeydb_pg.so: keydb_pg.o
 libkeydb_%.so: keydb_%.o
        $(CC) -shared -o $@ $< $(CORE_OBJS)
 
-keydb_%.o: keydb_%.c
-       $(CC) -c -fPIC $(LDFLAGS) -o $@ $<
-
 splitkeys: splitkeys.o $(CORE_OBJS) $(KEYDB_OBJ)
        $(CC) $(LDFLAGS) -o splitkeys splitkeys.o $(CORE_OBJS) $(KEYDB_OBJ) \
                $(LIBS) $(PROGS_LDFLAGS_EXTRA)
@@ -139,7 +138,7 @@ ifeq (x@KEYD@, xyes)
 endif
 
 distclean: clean
-       $(RM) -f Makefile .depend config.{log,status,h}
+       $(RM) -f Makefile .depend config.log config.status config.h
        $(RM) -r autom4te.cache
 
 .depend: $(SRCS)