mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Make config independent to avoid accidental overwrites
This commit is contained in:
parent
b9cac3a190
commit
ee72ebd042
8
Makefile
8
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 $< $@
|
||||
|
|
Loading…
Reference in a new issue