Added a distclean method

This commit is contained in:
Tom G. Christensen 2003-07-08 10:43:42 +00:00
parent aa096141c0
commit ccbc7a4ff1

View File

@ -17,6 +17,9 @@ patch[0]=
# Source function library # Source function library
. ${HOME}/buildpkg/scripts/buildpkg.functions . ${HOME}/buildpkg/scripts/buildpkg.functions
# Fill in pkginfo values if necessary
# using pkgname,name,pkgcat,pkgvendor & pkgdesc
# Define script functions and register them # Define script functions and register them
METHODS="" METHODS=""
reg() { reg() {
@ -47,6 +50,12 @@ pack()
generic_pack generic_pack
} }
reg distclean
distclean()
{
clean distclean
}
################################################### ###################################################
# No need to look below here # No need to look below here
################################################### ###################################################
@ -57,7 +66,7 @@ all()
for METHOD in $METHODS for METHOD in $METHODS
do do
case $METHOD in case $METHOD in
all*) ;; all*|*clean) ;;
*) $METHOD *) $METHOD
;; ;;
esac esac