Joey Hess wrote: > Adding the script to the make package would > encapsulate the kludge cleanly. If Debian make had this command, > it should be sufficient for both using build-arch and for half of debhelper's > needs: > > make-first-existing-target target1 target2 [target3 ...]
Implemented and submitted to make as #598534. This should work for all rules files: make-first-existing-target -c debian/rules build-arch build -- see shy jo
signature.asc
Description: Digital signature