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