main: Don't hardcode fingerprint storage directory

It used to be hard-coded to /var/lib/fprint, but is now set to
$(localstatedir)/lib/fprint/.
This commit is contained in:
Bastien Nocera
2017-01-05 12:49:12 +01:00
parent eabeaa258e
commit b3c1ed0d2a
2 changed files with 7 additions and 5 deletions

View File

@ -7,7 +7,13 @@ EXTRA_DIST = manager.xml device.xml fprintd-marshal.list
libexec_PROGRAMS = fprintd
noinst_LTLIBRARIES = libfprintd.la
AM_CFLAGS = $(WARN_CFLAGS) $(FPRINT_CFLAGS) $(DAEMON_CFLAGS) -DLOCALEDIR=\""$(datadir)/locale"\" -DPLUGINDIR=\""$(libdir)/fprintd/modules"\"
AM_CFLAGS = \
$(WARN_CFLAGS) \
$(FPRINT_CFLAGS) \
$(DAEMON_CFLAGS) \
-DLOCALEDIR=\""$(datadir)/locale"\" \
-DPLUGINDIR=\""$(libdir)/fprintd/modules"\" \
-DFILE_STORAGE_PATH=\""$(localstatedir)/lib/fprint"\"
libfprintd_la_SOURCES = \
manager.c device.c \