Off the top of my head, you probably want something like:
#!/usr/bin/make -f
%:
dh $@
> 1. cd packagedir/src
> 2. cp makefile.unix makefile.my
> 3. Run three sed lines on makefile.my
override_dh_auto_configure:
cp src/makefile.unix src/makefile.my
sed -i ... src/makefile.my
sed ...
sed ...
override_dh_auto_clean:
# maybe "make -C src -f makefile.my clean"?
rm -f src/makefile.my
> 4. make -f makefile.my
override_dh_auto_build:
make -C src -f makefile.my
> 5. sudo cp -f binaryfile /usr/local/bin/
In debian/install, put the single line:
src/binaryfile usr/local/bin/
HTH,
Robie
signature.asc
Description: Digital signature
-- Ubuntu-motu mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu
