X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=Makefile.in;h=28e93c9d6829b033fea4e36a7d7d23e33497277b;hb=0b6d1c2f02adbb84ca03290f34368307a5e08131;hp=463e4f8c19ab813ede9569a431e6092bf16072e0;hpb=3b73f99ccb5a2f3dc5237031ec9c0b0b7939220b;p=onak.git diff --git a/Makefile.in b/Makefile.in index 463e4f8..28e93c9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -52,13 +52,13 @@ endif OBJS = stats.o cleankey.o $(CORE_OBJS) $(KEYDB_OBJ) -all: .depend $(PROGS) testparse maxpath sixdegrees splitkeys onak.conf \ +all: .depend $(PROGS) testparse maxpath sixdegrees splitkeys onak.ini \ wotsap $(BACKENDS) test: onak $(BACKENDS) @./runtests -install: $(PROGS) onak.conf $(BACKENDS) +install: $(PROGS) onak.ini $(BACKENDS) install -d $(DESTDIR)/@bindir@ install -d $(DESTDIR)/@libdir@/onak/backends install -d $(DESTDIR)/@localstatedir@/lib/onak @@ -142,7 +142,7 @@ onak: onak.o cleankey.o $(CORE_OBJS) $(KEYDB_OBJ) $(CORE_OBJS) $(KEYDB_OBJ) $(LIBS) $(PROGS_LDFLAGS_EXTRA) onak-conf.o: onak-conf.c onak-conf.h - $(CC) $(CFLAGS) -DCONFIGFILE=\"@sysconfdir@/onak.conf\" \ + $(CC) $(CFLAGS) -DCONFIGDIR=\"@sysconfdir@\" \ -DDBINIT=keydb_@DBTYPE@_init -c onak-conf.c # HACK: onak-conf.o needs to be able to see keydb_@DBTYPE@_funcs, but @@ -152,8 +152,10 @@ keydctl.o: keydctl.c keyd.h %: %.in sed -e 's:@BINDIR@:@bindir@:g' \ - -e 's:@CONFIG@:@sysconfdir@/onak.conf:g' \ + -e 's:@CONFIG@:@sysconfdir@/onak.ini:g' \ + -e 's:@CONFIGOLD@:@sysconfdir@/onak.conf:g' \ -e 's:@LIBDIR@:@libdir@:g' \ + -e 's:@RUNDIR@:@runstatedir@:g' \ -e 's:@SBINDIR@:@sbindir@:g' \ -e 's:@STATEDIR@:@localstatedir@:g' \ < $< > $@ @@ -161,7 +163,7 @@ keydctl.o: keydctl.c keyd.h clean: $(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 keyd.o \ + sixdegrees.o splitkeys.o stripkey.o onak.ini keyd.o \ keydctl.o hashquery.o wotsap.o version.h \ TAGS cscope.out cscope.files \ $(foreach be,@BACKENDS@,keydb_$(be).o) *.so @@ -176,7 +178,7 @@ distclean: clean doxygen-docs: *.c *.h Doxyfile doxygen -version.h: +version.h: $(SRCS) @echo '#include "config.h"' > version.h @if [ -e .git ]; then \ echo "#define ONAK_VERSION \"`git describe --tags --dirty | cut -d - -f 2-`\"" \