2 # autogen.sh for libquvi-scripts.
5 cachedir
=autom4te.cache
9 echo "Generate manual..."
10 MAN
=doc
/man
7/libquvi-scripts
.7 ; POD
=$MAN.pod
; VN
=`./gen-ver.sh`
11 pod2man
-c "libquvi-scripts manual" -n libquvi-scripts \
12 -s 7 -r "$VN" "$POD" "$MAN"
19 Removes _files_ listed in $source and $cachedir directory.
20 Last chance to bail out (^C) before we continue."
22 [ -f Makefile
] && make distclean
23 for file in `cat $source`; do # Remove files only.
24 [ -e "$file" ] && [ -f "$file" ] && rm -f "$file"
26 [ -e "$cachedir" ] && rm -rf "$cachedir"
27 rmdir -p config.aux
2>/dev
/null
33 echo "Usage: $0 [-c|-h] [top_srcdir]
34 -c Make the source tree 'maintainer clean'
35 -h Show this help and exit
36 Run without options to (re)generate the configuration files."
50 echo "Generate configuration files..."
51 autoreconf
-if && gen_manual
&& echo "You can now run 'configure'"