2 # autogen.sh for libquvi.
5 cachedir
=autom4te.cache
9 echo "Generate manual..."
10 MAN
=doc
/man
3/libquvi
.3 ; POD
=$MAN.pod
; VN
=`./gen-ver.sh`
11 pod2man
-c "libquvi manual" -n libquvi
-s 3 -r "$VN" "$POD" "$MAN"
18 Removes _files_ listed in $source and $cachedir directory.
19 Last chance to bail out (^C) before we continue."
21 [ -f Makefile
] && make distclean
22 for file in `cat $source`; do # Remove files only.
23 [ -e "$file" ] && [ -f "$file" ] && rm -f "$file"
25 [ -e "$cachedir" ] && rm -rf "$cachedir"
31 echo "Usage: $0 [-c|-h]
32 -h Show this help and exit
33 -c Make the source tree 'maintainer clean'
34 Run without options to (re)generate the configuration files."
48 echo "Generate configuration files..."
49 autoreconf
-if && gen_manual
&& echo "You can now run 'configure'"