From 90b247abc4a416f160dc88400d09b0af0a873226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Thu, 31 May 2018 16:24:16 +0200 Subject: Add some common update-* aliases for convenience And for the cron jobs running on security-tracker.debian.org. --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b437701676..c004efd998 100644 --- a/Makefile +++ b/Makefile @@ -97,6 +97,29 @@ update-$(1): endef $(foreach release,$(RELEASES),$(eval $(call add_update_rule,$(release)))) +# Define some common aliases +.PHONY: update-unstable update-testing update-stable update-oldstable update-oldoldstable +.PHONY: update-testing-security update-stable-security update-oldstable-security update-oldoldstable-security +.PHONY: update-main update-security update-backports +update-unstable: update-sid +update-testing: update-$(TESTING) +update-testing-security: update-$(TESTING)_security +update-stable: update-$(STABLE) +update-stable-security: update-$(STABLE)_security +update-oldstable: update-$(OLDSTABLE) +update-oldstable-security: update-$(OLDSTABLE)_security +ifeq ($(OLDOLDSTABLE),) +update-oldoldstable: +update-oldoldstable-security: +else +update-oldoldstable: update-$(OLDOLDSTABLE) +update-oldoldstable-security: update-$(OLDOLDSTABLE)_security +endif +update-main: $(foreach release,$(MAIN_RELEASES),update-$(release)) +update-security: $(foreach release,$(SECURITY_RELEASES),update-$(release)_security) +update-backports: $(foreach release,$(BACKPORT_RELEASES),update-$(release)_backports) + +# Other custom update rules update-lists: git fetch -q origin && git checkout -f origin/master -- data -- cgit v1.2.3