]> git.ipfire.org Git - location/libloc.git/commitdiff
Install databases to /var/lib/location
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 Dec 2019 18:09:38 +0000 (18:09 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 Dec 2019 18:09:38 +0000 (18:09 +0000)
This data is being modified and should therefore go to
/var/lib instead of /usr/share.

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

index 9c681b6c753f055fc4943ef62417713d67295807..1b9d90ea737847a51bb3ca51ae57047773fc1294 100644 (file)
@@ -56,7 +56,7 @@ SED_PROCESS = \
        -e 's,@databasedir\@,$(databasedir),g' \
        < $< > $@ || rm $@
 
-databasedir = $(datadir)/location
+databasedir = $(localstatedir)/lib/location
 pkgconfigdir = $(libdir)/pkgconfig
 
 %: %.in Makefile