Make config independent to avoid accidental overwrites

This commit is contained in:
lostd 2015-06-04 23:03:57 +01:00
parent b9cac3a190
commit ee72ebd042
1 changed files with 3 additions and 5 deletions

View File

@ -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 $< $@