diff options
author | cbdev <cb@cbcdn.com> | 2020-01-01 20:16:52 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-01-01 20:16:52 +0100 |
commit | 3098484d9d8ab3becd6d82297c13963f359460f4 (patch) | |
tree | d881be1bd58858d5896d70bac8d18267e0757a24 | |
parent | 87fe68ef7d929b2f79e695df649b374fe0e2c572 (diff) | |
download | midimonster-3098484d9d8ab3becd6d82297c13963f359460f4.tar.gz midimonster-3098484d9d8ab3becd6d82297c13963f359460f4.tar.bz2 midimonster-3098484d9d8ab3becd6d82297c13963f359460f4.zip |
Do not install default config if already present (Fixes #43)
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -79,8 +79,10 @@ install: install -d "$(DESTDIR)$(EXAMPLES)" install -m 0644 configs/* "$(DESTDIR)$(EXAMPLES)" ifdef DEFAULT_CFG +ifeq (,$(wildcard $(DEFAULT_CFG))) install -Dm 0644 monster.cfg "$(DESTDIR)$(DEFAULT_CFG)" endif +endif sanitize: export CC = clang sanitize: export CFLAGS += -g -Wall -Wpedantic -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer |