5642ffa86e
- Configuration file 'xbps-conf.plist' has been splitted off into two files: conf.plist and repositories.plist. By default they are stored in etc/xbps. - Changed some members in xbps_handle struct, mostly to make it easy to change its value in {cache,root}dir and conffile. - Made xbps_init() release proplib objects as soon as we don't need them, that way it uses 35% less of memory or in some cases even more. There will be another commit that will implement to read new virtualpkg settings by the user, as specified in: http://code.google.com/p/xbps/issues/detail?id=12
20 lines
303 B
Makefile
20 lines
303 B
Makefile
-include ../config.mk
|
|
|
|
CONF_FILE = conf.plist repositories.plist
|
|
|
|
.PHONY: all
|
|
all:
|
|
|
|
.PHONY: install
|
|
install:
|
|
install -d $(DESTDIR)$(ETCDIR)
|
|
if [ ! -f $(DESTDIR)$(ETCDIR)/$(CONF_FILE) ]; then \
|
|
install -m644 $(CONF_FILE) $(DESTDIR)$(ETCDIR); \
|
|
fi
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
|
|
.PHONY: clean
|
|
clean:
|