blob: bad8648bd4ac5fbda5397f372f74c5c45b14c3b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
#!/bin/sh
basedir="$(dirname "$0")"
[ "$(echo "$basedir" | cut -c1)" = '/' ] || basedir="$PWD/$basedir"
awlsim_base="$basedir/.."
set -e
if ! [ -x "$awlsim_base/awlsim-test" -a -x "$awlsim_base/setup.py" ]; then
echo "basedir sanity check failed"
exit 1
fi
cd "$awlsim_base"
find . \( \
\( -name '__pycache__' \) -o \
\( -name '*.pyo' \) -o \
\( -name '*.pyc' \) -o \
\( -name '*$py.class' \) \
\) -delete
rm -rf build dist release-archives .pybuild
rm -f MANIFEST
rm -f *.html
find ./doc -name '*.html' -delete
rm -f debian/files \
debian/*.debhelper \
debian/*.log \
debian/*.substvars \
debian/debhelper-build-stamp
rm -rf debian/destdir-* \
debian/python-awlsim \
debian/python-awlsimhw-dummy \
debian/python-awlsimhw-linuxcnc \
debian/python-awlsimhw-profibus \
debian/python-awlsimhw-rpigpio \
debian/python-awlsimhw-pixtend \
debian/python-awlsim-gui \
debian/cython-awlsim \
debian/cython-awlsimhw-dummy \
debian/cython-awlsimhw-linuxcnc \
debian/cython-awlsimhw-profibus \
debian/cython-awlsimhw-rpigpio \
debian/cython-awlsimhw-pixtend \
debian/python3-awlsim \
debian/python3-awlsim-gui \
debian/python3-awlsimhw-dummy \
debian/python3-awlsimhw-linuxcnc \
debian/python3-awlsimhw-profibus \
debian/python3-awlsimhw-rpigpio \
debian/python3-awlsimhw-pixtend \
debian/cython3-awlsim \
debian/cython3-awlsimhw-dummy \
debian/cython3-awlsimhw-linuxcnc \
debian/cython3-awlsimhw-profibus \
debian/cython3-awlsimhw-rpigpio \
debian/cython3-awlsimhw-pixtend \
debian/pypy-awlsim \
debian/pypy-awlsimhw-dummy \
debian/pypy-awlsimhw-profibus \
debian/pypy-awlsimhw-rpigpio \
debian/pypy-awlsimhw-pixtend \
debian/awlsim-client \
debian/awlsim-server \
debian/awlsim-symtab \
debian/awlsim-test \
debian/awlsim-linuxcnc-hal \
debian/awlsim-gui \
debian/awlsim-proupgrade
|