2 # Author: Francesco Montorsi <frm@users.sourceforge.net>
5 thisdir
=distrib
/autopackage
6 currloc
="http://biolpc22.york.ac.uk/pub/autopackage/wxgtk/"
10 echo = REMINDER
===================================================
11 echo Now that the autopackage has been built successfully
, remember
12 echo to upload the .meta
, .package and .xml files to the
15 echo ==============================================================
18 function build_package
22 if [[ ! -f "config.status" ]]; then
23 echo $me: Running a fake configure just to create a config.status
24 echo $me: with a valid PACKAGE_VERSION
set... please
wait.
25 .
/configure
>/dev
/null
2>&1
28 if [[ "$1" = "--help" ]]; then
33 # this will automatically update wxgtk.apspec from wxgtk.apspec.in
34 # using config.status script
35 makeinstaller $@
$thisdir/wxgtk.apspec
37 if [[ "$?" = "0" ]]; then
38 mv *.package
*.xml
*.meta
$thisdir >/dev
/null
2>&1
43 function clean_previous
45 rm -f wxgtk.apspec
# this was generated from wxgtk.apspec.in
46 rm -f *.xml
*.package
*.meta