5 cachedir
=autom4te.cache
9 echo "Generate cmdline..."
10 gengetopt
< src
/quvi
/cmdline.ggo \
11 -C --unamed-opts=URL
--output-dir src
/quvi
--no-version
16 echo "Generate manual..."
17 M4
=m
4/version.
m4 ; MAN
=doc
/man
1/quvi
.1 ; POD
=$MAN.pod
18 VER
=`perl -n -e'/(\d+)\.(\d+)\.(\d+)/ && print "$1.$2.$3"' < $M4` \
19 && pod2man
-c "quvi manual" -n quvi
-s 1 -r $VER $POD $MAN
26 Removes _files_ listed in $source and $cachedir directory.
27 Last chance to bail out (^C) before we continue."
29 for file in `cat $source`; do # Remove files only.
30 [ -e "$file" ] && [ -f "$file" ] && rm -f "$file"
32 [ -e "$cachedir" ] && rm -rf "$cachedir"
38 echo "Usage: $0 [-c|-h]
39 -h Show this help and exit
40 -c Make the source tree 'maintainer clean'
41 Run without options to (re)generate the configuration files."
56 echo "Generate configuration files..."
60 && echo "You can now run 'configure'"