Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add some common update-* aliases for convenience
· 90b247ab
Raphaël Hertzog
authored
May 31, 2018
And for the cron jobs running on security-tracker.debian.org.
90b247ab
Add a command to display the list of supported update-* targets
· b5790ddd
Raphaël Hertzog
authored
May 31, 2018
b5790ddd
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
b5790ddd
...
...
@@ -97,6 +97,36 @@ 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)
supported-update-targets
:
@
echo
-n
"unstable testing stable oldstable oldoldstable "
@
echo
-n
"testing-security stable-security oldstable-security oldoldstable-security "
@
echo
-n
"main security backports "
@
echo
-n
"
$(
RELEASES
)
"
@
echo
-n
"lists nvd"
# Other custom update rules
update-lists
:
git fetch
-q
origin
&&
git checkout
-f
origin/master
--
data
...
...