5 # Requires: automake, autoconf, dpkg-dev
10 # For the Debian build
12 # Kill executable list first
13 rm -f debian
/executable.files
15 # Make sure our executable and removable lists won't be screwed up
16 debclean
&& echo Cleaned buildtree just
in case...
18 # refresh list of executable scripts, to avoid possible breakage if
19 # upstream tarball does not include the file or if it is mispackaged
20 # for whatever reason.
21 echo Generating list of executable files...
22 rm -f debian
/executable.files
23 find -type f
-perm +111 ! -name '.*' -fprint debian
/executable.files
25 # link these in Debian builds
26 rm -f config.sub config.guess
27 ln -s /usr
/share
/misc
/config.sub .
28 ln -s /usr
/share
/misc
/config.guess .