summaryrefslogtreecommitdiffstats
path: root/ulogd/Makefile.in
diff options
context:
space:
mode:
authorlaforge <laforge>2002-08-05 17:51:09 +0000
committerlaforge <laforge>2002-08-05 17:51:09 +0000
commit41581db9a6253dd22da080b1680b1384eb81dfc7 (patch)
tree52e8248e1313806f2eb472a03575156c969556b2 /ulogd/Makefile.in
parent7c093d5674448f19069af3484ef5c7919113652b (diff)
make sysconfdir/sbindir in case they don't exist (Aurelien)
Diffstat (limited to 'ulogd/Makefile.in')
-rw-r--r--ulogd/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/ulogd/Makefile.in b/ulogd/Makefile.in
index b39e8f7..598ebcb 100644
--- a/ulogd/Makefile.in
+++ b/ulogd/Makefile.in
@@ -45,7 +45,9 @@ distclean: clean
install: all
@for d in $(SUBDIRS); do if ! make -C $$d $@; then exit 1; fi; done
+ @[ -d $(DESTDIR)@sbindir@ ] || mkdir -p $(DESTDIR)@sbindir@
@INSTALL@ -D -m 755 ulogd $(DESTDIR)@sbindir@/ulogd
+ @[ -d $(DESTDIR)@sysconfdir@ ] || mkdir -p $(DESTDIR)@sysconfdir@
@INSTALL@ -D -m 600 ulogd.conf $(DESTDIR)@sysconfdir@/ulogd.conf
doc: