-o -name 'make.*' -type f -print \
-o -name 'dispatch-conf.conf' -type f -print \
-o -name 'etc-update.conf' -type f -print \
+ -o -name 'sets.conf' -type f -print \
)
all:
; echo "$(INSTALL_cnfsubst) $(srcdir)/dispatch-conf.conf $(DESTDIR)$(sysconfdir)/dispatch-conf.conf" \
; $(INSTALL_cnfsubst) $(srcdir)/dispatch-conf.conf $(DESTDIR)$(sysconfdir)/dispatch-conf.conf \
; echo "$(INSTALL_cnfsubst) $(srcdir)/etc-update.conf $(DESTDIR)$(sysconfdir)/etc-update.conf" \
- ; $(INSTALL_cnfsubst) $(srcdir)/etc-update.conf $(DESTDIR)$(sysconfdir)/etc-update.conf
+ ; $(INSTALL_cnfsubst) $(srcdir)/etc-update.conf $(DESTDIR)$(sysconfdir)/etc-update.conf \
+ ; echo "$(INSTALL_cnfsubst) $(srcdir)/sets.conf $(DESTDIR)$(datarootdir)/portage/sets.conf" \
+ ; $(INSTALL_cnfsubst) $(srcdir)/sets.conf $(DESTDIR)$(datarootdir)/portage/sets.conf
uninstall:
@ echo rm -f $(DESTDIR)$(sysconfdir)/make.conf.example \
USER_CONFIG_PATH = EPREFIX+"/etc/portage"
MODULES_FILE_PATH = USER_CONFIG_PATH+"/modules"
CUSTOM_PROFILE_PATH = USER_CONFIG_PATH+"/profile"
-GLOBAL_CONFIG_PATH = EPREFIX+"/usr/share/portage/config"
+GLOBAL_CONFIG_PATH = DATAROOTDIR+"/portage/config"
PORTAGE_BASE_PATH = PORTAGE_BASE
PORTAGE_BIN_PATH = PORTAGE_BASE_PATH+"/bin"
# all vars that are to wind up in portage_const must have their name listed in __all__
-__all__ = ["EPREFIX", "SYSCONFDIR", "PORTAGE_BASE", "portageuser",
- "portagegroup", "rootuser", "rootuid"]
+__all__ = ["EPREFIX", "SYSCONFDIR", "DATAROOTDIR", "PORTAGE_BASE",
+ "portageuser", "portagegroup", "rootuser", "rootuid"]
from os import path
EPREFIX=path.normpath("@DOMAIN_PREFIX@")
SYSCONFDIR=path.normpath("@sysconfdir@")
+DATAROOTDIR=path.normpath("@datarootdir@")
PORTAGE_BASE=path.normpath("@PORTAGE_BASE@")
portagegroup="@portagegroup@"
portageuser="@portageuser@"