+2005-04-07 Marius Mauch <genone@gentoo.org>
+ * euse: fixed bugs 74344, 75525 and 84521
+
2005-03-12 Aron Griffis <agriffis@gentoo.org>
* Added eviewcvs to -dev, utility for generating viewcvs URLs
echo $(sbindir)
echo $(mandir)
+clean:
+ rm -rf release/*
+
dist:
echo "Err0r: Must use either dist-gentoolkit or dist-gentoolkit-dev"
exit 1
publish_public_path="http://dev.gentoo.org/~port001/distfiles/gentoolkit/releases"
portdir=/home/port001/Gentoo/gentoo-x86/
export ECHANGELOG_USER="Ian Leitch <port001@gentoo.org>"
+elif [ "$(whoami)" == "genone" ]; then
+ publish_path=dev:public_html/distfiles/
+ publish_public_path="http://dev.gentoo.org/~genone/distfiles/"
+ portdir=/home/gentoo/cvs/gentoo-x86/
+ export ECHANGELOG_USER="Marius Mauch <genone@gentoo.org>"
else
echo "!!! Don't know who $(whoami) is, can't release"
exit 1
error() {
echo "ERROR: ${1}"
+ set +f
exit 1
}
[ ! -r "${MAKE_CONF_PATH}" ] && error "${MAKE_CONF_PATH} is not readable"
[ ! -r "${MAKE_GLOBALS_PATH}" ] && error "${MAKE_GLOBALS_PATH} is not readable"
- [ ! -s "${MAKE_PROFILE_PATH}" ] && error "${MAKE_PROFILE_PATH} is not a symlink"
+ [ ! -h "${MAKE_PROFILE_PATH}" ] && error "${MAKE_PROFILE_PATH} is not a symlink"
[ -z "$(get_portdir)" ] && error "\$PORTDIR couldn't be determined"
[ ! -d "${descdir}" ] && error "${descdir} does not exist or is not a directory"
[ ! -r "${descdir}/use.desc" ] && error "${descdir}/use.desc is not readable"
curdir="$(readlink -f ${MAKE_PROFILE_PATH})"
while [ ! -f "${curdir}/make.defaults" -a -f "${curdir}/parent" ]; do
- parent="$(grep -v '(^#|^ *$)' ${curdir}/parent)"
+ parent="$(egrep -v '(^#|^ *$)' ${curdir}/parent)"
curdir="$(readlink -f ${curdir}/${parent})"
done
##### main program comes now #####
+set -f
parse_arguments "$@"
check_sanity
eval ${MODE} ${ARGUMENTS}
+set +f
cp Makefile glsa.py glsa-check ../../$(distdir)/src/glsa-check/
install:
+ install -d $(DESTDIR)/usr/lib/gentoolkit/pym/
install -m 0755 glsa-check $(bindir)/
install -m 0644 glsa.py $(DESTDIR)/usr/lib/gentoolkit/pym/