+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 Server Team, which is subscribed to php7.0 in 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-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
