Replaced config/system {repo,preserve,virtualpkg}.d with a single directory.

See the NEWS file for more information.
This commit is contained in:
Juan RP
2014-11-06 09:58:04 +01:00
parent 578c3add0c
commit 5b522109f7
38 changed files with 278 additions and 277 deletions

View File

@@ -15,21 +15,23 @@ install:
install -m644 $(PCFILE) $(DESTDIR)$(PKGCONFIGDIR)
install -d $(DESTDIR)/$(DBDIR)/keys
install -m644 *.plist $(DESTDIR)/$(DBDIR)/keys
install -d $(DESTDIR)/$(PREFIX)/share/xbps/repo.d
install -m644 repod-main.conf $(DESTDIR)/$(PREFIX)/share/xbps/repo.d/00-main.conf
install -d $(DESTDIR)/$(PREFIX)/share/zsh/site-functions
install -m644 _xbps* $(DESTDIR)/$(PREFIX)/share/zsh/site-functions
install -d $(DESTDIR)/$(PREFIX)/share/bash-completion/completions
install -m644 xbps.bash $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/xbps
install -d $(DESTDIR)/$(SHAREDIR)/xbps.d
install -m644 repod-main.conf $(DESTDIR)/$(SHAREDIR)/xbps.d/00-repository-main.conf
install -m644 xbps.conf $(DESTDIR)/$(SHAREDIR)/xbps.d/xbps.conf
install -d $(DESTDIR)/$(SHAREDIR)/zsh/site-functions
install -m644 _xbps* $(DESTDIR)/$(SHAREDIR)/zsh/site-functions
install -d $(DESTDIR)/$(SHAREDIR)/bash-completion/completions
install -m644 xbps.bash $(DESTDIR)/$(SHAREDIR)/bash-completion/completions/xbps
for file in xbps-checkvers xbps-create xbps-dgraph xbps-install \
xbps-pkgdb xbps-query xbps-reconfigure xbps-remove xbps-rindex; do \
ln -sf xbps $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/$$file; \
ln -sf xbps $(DESTDIR)/$(SHAREDIR)/bash-completion/completions/$$file; \
done
.PHONY: uninstall
uninstall:
-rm -f $(DESTDIR)$(PKGCONFIGDIR)/$(PCFILE)
-rm -f $(DESTDIR)$(PREFIX)/share/xbps/repo.d/main.conf
-rm -f $(DESTDIR)$(SHAREDIR)/xbps.d/00-repository-main.conf
-rm -f $(DESTDIR)$(SHAREDIR)/xbps.d/xbps.conf
.PHONY: clean