12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #! /bin/sh
- required=python
- . test-init.sh
- cat >>configure.ac <<'END'
- AM_PATH_PYTHON
- AC_OUTPUT
- END
- mkdir sub
- cat >Makefile.am <<'END'
- python_PYTHON = one.py
- END
- cat >one.py <<'END'
- def one(): return 1
- END
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE --add-missing
- cwd=$(pwd) || fatal_ "getting current working directory"
- instdir=$cwd/inst
- destdir=$cwd/dest
- mkdir build
- cd build
- ../configure --prefix="$instdir"
- $MAKE
- nulldirs='pythondir='
- null_install
- :
|