diff options
author | Florian Hülsmann <fh@cbix.de> | 2022-03-26 00:18:33 +0100 |
---|---|---|
committer | Florian Hülsmann <fh@cbix.de> | 2022-03-26 00:18:33 +0100 |
commit | 74248e21095c1bc799c900ca9487f81f99bf5bf5 (patch) | |
tree | af2be746ee296dc8fc5643e83a91d769c8b2960b | |
parent | c14b8121b057b238c17f89995094d57a612f946f (diff) | |
download | midimonster-74248e21095c1bc799c900ca9487f81f99bf5bf5.tar.gz midimonster-74248e21095c1bc799c900ca9487f81f99bf5bf5.tar.bz2 midimonster-74248e21095c1bc799c900ca9487f81f99bf5bf5.zip |
fix make install not installing the config if DESTDIR is provided but the file exists on system
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |