X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=Makefile.in;h=a7a5c08e48a5ef2377f9e4529c02d05a8185d568;hb=3561aed8483fe3076c7689f93fbc94ca63de77b3;hp=a6c12c5c3bd2e4318e009110438eb031e7e9b31a;hpb=5b3f77c7fbafb036d20a1577ed74f475e94ed821;p=onak.git diff --git a/Makefile.in b/Makefile.in index a6c12c5..a7a5c08 100644 --- a/Makefile.in +++ b/Makefile.in @@ -48,6 +48,23 @@ OBJS = stats.o cleankey.o $(CORE_OBJS) $(KEYDB_OBJ) all: .depend $(PROGS) testparse maxpath sixdegrees splitkeys onak.conf \ $(BACKENDS) +install: $(PROGS) onak.conf $(BACKENDS) + install -d $(DESTDIR)/@bindir@ + 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@ + install keyd $(DESTDIR)/@sbindir@ +endif + keyd: keyd.o $(CORE_OBJS) keydb_$(DBTYPE).o $(CC) $(LDFLAGS) $(PROGS_LDFLAGS_EXTRA) \ -o keyd keyd.o $(CORE_OBJS) keydb_$(DBTYPE).o $(LIBS)