+ifeq ($(WITH_UNIVERSE),yes) +DH_OPTIONS+=$(addprefix -N,$(shell dh_listpackages | grep -v $(addprefix -e ,$(UNIVERSE_PACKAGES)))) +else +DH_OPTIONS+=$(addprefix -N,$(shell dh_listpackages | grep $(addprefix -e ,$(UNIVERSE_PACKAGES)))) +endif
debhelper also supports -p options to specify which packages it works on, as opposed to -N to specify packages to exclude. Couldn't this be written more succinctly as: ifeq ($(WITH_UNIVERSE),yes) DH_OPTIONS+=$(addprefix -p,$(UNIVERSE_PACKAGES)) else DH_OPTIONS+=$(addprefix -N,$(UNIVERSE_PACKAGES)) endif ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1555843 Title: php7.0: re-add binary packages with universe dependencies To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php-defaults/+bug/1555843/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
