From 11f814ee0f0e0658826642fd2230e365ebe4278f Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Thu, 19 Jan 2006 17:39:39 +0000 Subject: [PATCH] Add /etc/revdep-rebuild/ to CONFIG_PROTECT_MASK svn path=/; revision=274 --- trunk/Makefile | 4 ++++ trunk/src/99gentoolkit-env | 1 + 2 files changed, 5 insertions(+) create mode 100644 trunk/src/99gentoolkit-env diff --git a/trunk/Makefile b/trunk/Makefile index 76a6afe..19cc16b 100644 --- a/trunk/Makefile +++ b/trunk/Makefile @@ -43,6 +43,7 @@ dist-gentoolkit: ( cd src/$$x ; make distdir=release/gentoolkit-$(VERSION)$(RELEASE_TAG) dist ) \ done cp Makefile AUTHORS README TODO COPYING NEWS ChangeLog release/gentoolkit-$(VERSION)$(RELEASE_TAG)/ + cp src/99gentoolkit-env release/gentoolkit-$(VERSION)$(RELEASE_TAG)/src/ cat makedefs.mak | \ sed "s/^VERSION=.*/VERSION=$(VERSION)/" | \ sed "s/^RELEASE_TAG=.*/RELEASE_TAG=$(RELEASE_TAG)/" \ @@ -59,13 +60,16 @@ install-gentoolkit: install -d $(bindir) install -d $(sbindir) install -d $(mandir) + install -d $(sysconfdir)/env.d install -m 0644 AUTHORS ChangeLog COPYING NEWS README TODO $(docdir)/ + install -m 0644 src/99gentoolkit-env $(sysconfdir)/env.d/ for x in eclean equery etcat euse qpkg gentoolkit revdep-rebuild glsa-check ; do \ ( cd src/$$x ; make DESTDIR=$(DESTDIR) install ) \ done + # FIXME: If run from the CVS tree, the documentation will be installed in # $(DESTDIR)/usr/share/doc/gentoolkit-$(VERSION), not gentoolkit-dev-$(VERSION) install-gentoolkit-dev: diff --git a/trunk/src/99gentoolkit-env b/trunk/src/99gentoolkit-env new file mode 100644 index 0000000..3933874 --- /dev/null +++ b/trunk/src/99gentoolkit-env @@ -0,0 +1 @@ +CONFIG_PROTECT_MASK="/etc/revdep-rebuild" -- 2.26.2