Hi Joshua, Quoting Josua Mayer (2016-09-25 13:31:15) > This time I would like some opinions on the technical side of packing > udev rules (for the letux-rules package): As I see it there are at > least 2 options on how to copy them to debian/<package-dir>: > > a) cp by hand (either in Makefile, or debian/rules) [...] > b) let debhelper do it [...] > Now do you have any wisdom to share which approach to pick?
Do both! Create a system-agnostic makefile, usable both for distributors and directly on a system. Have the makefile do finalizing stuff too (for C code that would include stripping binaries, here you mention some trigger calls), but allow for either skipping those (by using granular make targets) or suppressing them (e.g. by putting the calls in a variable that can be overridden at the commandline with something no-op like /bin/true). ...and then in the debian dir make use of the Makefile to install in a prelimiary dir, and have debhelper move it from there to another dir specific to the binary package (or multiple dirs, if there are multiple binary packages). That's the proper way to do it. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature
_______________________________________________ pkg-fso-maint mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fso-maint
