Install by default xbps.conf into $(PREFIX)/etc and use it.
--HG-- extra : convert_revision : d6550a3d9e6093cb1ec789715e2b1107b9bb59bd
This commit is contained in:
18
etc/Makefile
Normal file
18
etc/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
include ../vars.mk
|
||||
|
||||
CONF_FILE = xbps.conf
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
install:
|
||||
if [ ! -d $(ETCDIR) ]; then \
|
||||
install -d $(ETCDIR); \
|
||||
fi
|
||||
|
||||
if [ ! -f $(ETCDIR)/$(CONF_FILE) ]; then \
|
||||
install -m 644 $(CONF_FILE) $(ETCDIR); \
|
||||
fi
|
||||
Reference in New Issue
Block a user