]> git.ipfire.org Git - people/ms/network.git/commitdiff
Add missing logdir to Makefile.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 25 Jan 2017 13:48:19 +0000 (14:48 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jan 2017 13:21:51 +0000 (13:21 +0000)
The logdir has not been created during the "make install" process
and therefore not been shipped yet.

This directory is used to store various databases which contains
data about the zones and routes. They can easily accessed by
the upcomming WUI to display or compute those information.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 3226e5b13f75f86375f6d8aa65b8c1d066284720..f377747b74d57528771ad38cb5b0c7f9f9a02fbe 100644 (file)
@@ -48,6 +48,8 @@ hooks_zonesdir   = $(hooksdir)/zones
 
 triggersdir      = $(networkdir)/triggers
 
+logdir           = $(localestatedir)/log/network
+
 CLEANFILES =
 DISTCLEANFILES =
 EXTRA_DIST =
@@ -232,7 +234,8 @@ EXTRA_DIST += \
        src/ppp/ip-updown.in
 
 INSTALL_DIRS += \
-       $(pppdir)
+       $(pppdir) \
+       $(logdir)
 
 ppp-install-hook:
        ln -svf ip-updown $(DESTDIR)$(pppdir)/ip-pre-up