summaryrefslogtreecommitdiffstats
path: root/ulogd/Makefile.in
diff options
context:
space:
mode:
authorlaforge <laforge>2003-04-27 07:47:26 +0000
committerlaforge <laforge>2003-04-27 07:47:26 +0000
commit036af2102da8ab33e139fb1cde2fef2e9926f36a (patch)
tree9b8fb0a41ccf6fd485d70f3095c0a2e751e45f25 /ulogd/Makefile.in
parente9796548e7af2e6f64c2be9e598be0cde8e2dc24 (diff)
This patch fixes so the pathes in ulogd.conf matches what you gave to
configure.. (Magnus Boden)
Diffstat (limited to 'ulogd/Makefile.in')
-rw-r--r--ulogd/Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/ulogd/Makefile.in b/ulogd/Makefile.in
index 6038076..9475ab5 100644
--- a/ulogd/Makefile.in
+++ b/ulogd/Makefile.in
@@ -31,12 +31,17 @@ distrib:
recurse:
@for d in $(SUBDIRS); do if ! make -C $$d; then exit 1; fi; done
-ulogd: ulogd.c $(LIBIPULOG) include/ulogd/ulogd.h conffile/conffile.o $(LIBIPULOG)/libipulog.a
+ulogd: ulogd.c $(LIBIPULOG) include/ulogd/ulogd.h conffile/conffile.o $(LIBIPULOG)/libipulog.a ulogd.conf
$(CC) $(CFLAGS) -rdynamic $< conffile/conffile.o $(LIBIPULOG)/libipulog.a -o $@ $(LIBS)
+edit = sed -e 's,@libdir\@,$(ULOGD_LIB_PATH),g'
+
+ulogd.conf: ulogd.conf.in
+ $(edit) ulogd.conf.in > ulogd.conf
+
clean:
# rm -f ulogd *.o extensions/*.o extensions/*.so conffile/*.o
- rm -f ulogd ulogd.o
+ rm -f ulogd ulogd.o ulogd.conf
@for d in $(SUBDIRS); do if ! make -C $$d $@; then exit 1; fi; done
distclean: clean