Install the data files in $(datadir)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2016-02-17 16:27:22 +10:00
parent c657178d22
commit 9c37f5c300
3 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
SUBDIRS = src doc test tools hwdb
SUBDIRS = src doc test tools hwdb data
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

View File

@@ -138,6 +138,7 @@ AM_CONDITIONAL(BUILD_TESTS, [test "x$build_tests" = "xyes"])
AM_CONDITIONAL(BUILD_DOCS, [test "x$build_documentation" = "xyes"])
AC_CONFIG_FILES([Makefile
data/Makefile
doc/Makefile
doc/libratbag.doxygen
hwdb/Makefile

2
data/Makefile.am Normal file
View File

@@ -0,0 +1,2 @@
libratbagdatadir = $(datadir)/libratbag
dist_libratbagdata_DATA = $(shell find $(top_srcdir)/data -name "*.svg" -printf "%P\n")