Add /etc/revdep-rebuild/ to CONFIG_PROTECT_MASK
authorfuzzyray <fuzzyray@gentoo.org>
Thu, 19 Jan 2006 17:39:39 +0000 (17:39 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Thu, 19 Jan 2006 17:39:39 +0000 (17:39 -0000)
svn path=/; revision=274

trunk/Makefile
trunk/src/99gentoolkit-env [new file with mode: 0644]

index 76a6afe8e024a1f7ad6305ba971f1749622b144a..19cc16ba0d301f60fe6e5345e20550e4f80f12fd 100644 (file)
@@ -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 (file)
index 0000000..3933874
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_PROTECT_MASK="/etc/revdep-rebuild"