Give each emacs flavor its own emacsclient
Move emacsclient from emacs-bin-common to the emacsVER (i.e.
emacs-lucid, emacs-gtk, ...) packages so that each one will have the
binary that was built for that flavor.
I was using emacs-lucid, and after upgrading to 29.1,
emacsclient (which was the pgtk flavor) no longer worked correctly,
for example "-c -n" didn't open new frames. However the lucid build
emacsclient worked fine.
Explicitly list the variant and common bin alternatives instead of
globbing. Add the alternatives variables to deb_sub so we don't need
the separate perl -i substitutions.
Stop splitting some of the debian/rules $(call ...) invocations across
two lines because it was introducing a space into the argument value
which would then break quoted expansions like "$(1)...".
Thanks to Wang Yizhen for reporting the problem.
Closes: 1050953