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 MAN
=doc
/man
1/quvi
.1 ; POD
=$MAN.pod
; VN
=`./gen-ver.sh`
18 pod2man
-c "quvi manual" -n quvi
-s 1 -r "$VN" "$POD" "$MAN"
25 Removes _files_ listed in $source and $cachedir directory.
26 Last chance to bail out (^C) before we continue."
28 [ -f Makefile
] && make distclean
29 for file in `cat $source`; do # Remove files only.
30 [ -e "$file" ] && [ -f "$file" ] && rm -f "$file"
32 [ -e "$cachedir" ] && rm -rf "$cachedir"
33 rmdir -p config.aux
2>/dev
/null
39 echo "Usage: $0 [-c|-h]
40 -h Show this help and exit
41 -c Make the source tree 'maintainer clean'
42 Run without options to (re)generate the configuration files."
56 echo "Generate configuration files..."
57 autoreconf
-if && gen_cmdline
&& gen_manual
&&
58 echo "You can now run 'configure'"