aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-12-04 21:48:25 +0100
committercbdev <cb@cbcdn.com>2019-12-04 21:48:25 +0100
commitbb6e54e99b86a71fcc300890b41b49209245ac61 (patch)
tree9f0605d1de7648de0566674512f799d3d821c915
parent0b72a1885f064666f9c7369e1d604feeb4b83d66 (diff)
downloadmidimonster-bb6e54e99b86a71fcc300890b41b49209245ac61.tar.gz
midimonster-bb6e54e99b86a71fcc300890b41b49209245ac61.tar.bz2
midimonster-bb6e54e99b86a71fcc300890b41b49209245ac61.zip
Have the configuration file be installed in a separate directory
-rw-r--r--LICENSE.txt2
-rw-r--r--Makefile2
-rw-r--r--README.md2
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