aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2022-03-26 14:17:56 +0100
committerGitHub <noreply@github.com>2022-03-26 14:17:56 +0100
commit25f6a81442111559269bc30f3625b15c24f372d5 (patch)
treeaf2be746ee296dc8fc5643e83a91d769c8b2960b /Makefile
parentc14b8121b057b238c17f89995094d57a612f946f (diff)
parent74248e21095c1bc799c900ca9487f81f99bf5bf5 (diff)
downloadmidimonster-25f6a81442111559269bc30f3625b15c24f372d5.tar.gz
midimonster-25f6a81442111559269bc30f3625b15c24f372d5.tar.bz2
midimonster-25f6a81442111559269bc30f3625b15c24f372d5.zip
Merge pull request #109 from cbix/fix/make-install-config
Fix some cases of `make install` not installing the config
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc73718..4e5161e 100644
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@ install:
install -m 0644 configs/* "$(DESTDIR)$(EXAMPLES)"
ifdef DEFAULT_CFG
# Only install the default configuration if it is not already present to avoid overwriting it
-ifeq (,$(wildcard $(DEFAULT_CFG)))
+ifeq (,$(wildcard $(DESTDIR)$(DEFAULT_CFG)))
install -Dm 0644 monster.cfg "$(DESTDIR)$(DEFAULT_CFG)"
endif
endif