Suppose I have a debian package housing as follows:
project_pkg/ .git project_0.0-1/ debian/ install ... project (git submodule with tagged commit)
With the following install file:
// .../debian/install #!/usr/bin/env bash find $(pwd)/project/path/to/binaries -type f -executable -printf "$(pwd)/project/path/to/binaries/%f usr/bin\n"
And where the project has a
make entrypoint such that
make -C project build for example produces all the necessary files I would need to package.
The make/build component of the entire packaging process works right now. However, ideally, I find all the necessary files I need to install from the install folder.
I have a solution for now, which would involve copying the binaries in the project to the
debian/tmp/ from either outside
/debian or from
But I could just as easily set the
dh_install to fetch the files from the project, if there was some way to do so..
A) Is there a way to get
dh_install to fetch files from the project,
B) Is simply running two
find commands and copying the binaries to the
debian/tmp dir the way to go?
C) Should I just hack it and prefix the
printf in the install find command with