summaryrefslogtreecommitdiff
path: root/map-server/altos-mapd/Makefile.am
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-10-06 23:22:26 -0600
committerKeith Packard <keithp@keithp.com>2018-10-06 23:22:26 -0600
commit417ec9c2a42bbe74f3aba4d00b42eb14dd6eb079 (patch)
tree2fd8d31c527f2926ff8e9848af9655af716d8f44 /map-server/altos-mapd/Makefile.am
parent64d6689f97dfbed13533350dcb75a0a6a3d11c78 (diff)
altos-mapd: Install systemd service file and defaults file
This lets the map service 'just work' if enabled. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'map-server/altos-mapd/Makefile.am')
-rw-r--r--map-server/altos-mapd/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/map-server/altos-mapd/Makefile.am b/map-server/altos-mapd/Makefile.am
index a3fd196e..39f67536 100644
--- a/map-server/altos-mapd/Makefile.am
+++ b/map-server/altos-mapd/Makefile.am
@@ -22,6 +22,14 @@ FATJAR=altosmapd-fat.jar
all-local: classes/altosmapd $(JAR) altos-mapd altos-mapd-test altos-mapd-jdb
+defaultsdir=$(sysconfdir)/default
+
+defaults_DATA=altos-mapd-default
+
+systemddir=$(libdir)/systemd/system
+
+systemd_DATA=altos-mapd.service
+
install-altosmapdJAVA: altosmapd.jar
@$(NORMAL_INSTALL)
test -z "$(altosmapddir)" || $(MKDIR_P) "$(DESTDIR)$(altosmapddir)"