sql/Makefile: Create empty /var/lib/osmocom directory at install time
Otherwise osmo-hlr is unable to start correctly.
Change-Id: I1233fc9b3dc685561f79a34e1c32c459dc1aa685
diff --git a/sql/Makefile.am b/sql/Makefile.am
index 75be70e..e84943b 100644
--- a/sql/Makefile.am
+++ b/sql/Makefile.am
@@ -5,3 +5,10 @@
sqldir = $(docdir)/sql
sql_DATA = $(srcdir)/hlr.sql $(srcdir)/hlr_data.sql
+
+
+install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/osmocom
+
+uninstall-hook:
+ rm -rf $(DESTDIR)$(localstatedir)/lib/osmocom