From bb6e54e99b86a71fcc300890b41b49209245ac61 Mon Sep 17 00:00:00 2001 From: cbdev Date: Wed, 4 Dec 2019 21:48:25 +0100 Subject: Have the configuration file be installed in a separate directory --- LICENSE.txt | 2 +- Makefile | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 3d2ec64..95db371 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2017, cbdev/FJS +Copyright (c) 2017, cbdev/Fabian J. Stumpf All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Makefile b/Makefile index caad174..8b2d7ec 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ install: install -d "$(DESTDIR)$(PREFIX)/share/midimonster" install -m 0644 configs/* "$(DESTDIR)$(PREFIX)/share/midimonster" ifdef DEFAULT_CFG - install -m 0644 monster.cfg "$(DESTDIR)$(DEFAULT_CFG)" + install -Dm 0644 monster.cfg "$(DESTDIR)$(DEFAULT_CFG)" endif sanitize: export CC = clang diff --git a/README.md b/README.md index 83cd06b..bcae9dd 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ For system-wide install or packaging builds, the following steps are recommended ``` export PREFIX=/usr export PLUGINS=$PREFIX/lib/midimonster -export DEFAULT_CFG=/etc/midimonster.cfg +export DEFAULT_CFG=/etc/midimonster/midimonster.cfg make clean make full make install -- cgit v1.2.3