From 6d85aaa12ad6503b417b6a3a07a7c3e0566bb80d Mon Sep 17 00:00:00 2001 From: PHO Date: Wed, 4 Jul 2012 17:08:30 +0900 Subject: [PATCH] src/main.bash: new command: distcheck --- src/main.bash | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main.bash b/src/main.bash index b59aa3c..4e87e8c 100644 --- a/src/main.bash +++ b/src/main.bash @@ -44,6 +44,11 @@ function dist () { runMake -C "_build" dist } +function distcheck () { + configure + runMake -C "_build" distcheck +} + function install () { build runMake -C "_build" install "$0" @@ -64,6 +69,7 @@ Commands: configure run autoreconf(1) and "./configure" if necessary. clean run "rm -rf _build" dist run "make dist" + distcheck run "$0 configure" then "make distcheck" doc similar to "$0 build" but only build the documentation. install [ARG] run "$0 build" then "make install [ARG]". @@ -82,6 +88,7 @@ function main () { "check" ) cmd="check" ;; "clean" ) cmd="clean" ;; "dist" ) cmd="dist" ;; + "distcheck") cmd="distcheck";; "install" ) cmd="install" ;; *) cmd="usage" ;; esac -- 2.40.0