From: lostd Date: Thu, 4 Jun 2015 22:03:57 +0000 (+0100) Subject: Make config independent to avoid accidental overwrites X-Git-Tag: v1.0~92^2~65 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ee72ebd042e395e8c646a14d26d60fb99a8faa90;p=nnn.git Make config independent to avoid accidental overwrites --- diff --git a/Makefile b/Makefile index 3c96ba19..ea06b2d1 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ noice.o: util.h config.h strlcat.o: util.h strlcpy.o: util.h +config.h: + cp config.def.h $@ + install: all mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin @@ -40,8 +43,3 @@ dist: clean: rm -f $(BIN) $(OBJ) noice-$(VERSION).tar.gz - -.SUFFIXES: .def.h - -.def.h.h: - cp $< $@