Author: fw Date: 2005-09-29 12:39:03 +0000 (Thu, 29 Sep 2005) New Revision: 2224 Modified: Makefile Log: Makefile: Update. ("make check" should work out-of-the box and checks for syntax errors in the data/*/list files.) Modified: Makefile ==================================================================--- Makefile 2005-09-29 12:36:25 UTC (rev 2223) +++ Makefile 2005-09-29 12:39:03 UTC (rev 2224) @@ -6,19 +6,12 @@ # arbitrary at the moment. More architectures can be added later. MIRROR = http://merkel.debian.org/~aba/debian/ -RELEASES_with_proposed_updates = sarge=i386,ia64 etch=i386,ia64 -RELEASES = sid=i386,ia64 $(RELEASES_with_proposed_updates) \ - $(subst =,-proposed-updates=, $(RELEASES_with_proposed_updates)) \ - woody=i386 -SECURITY_RELEASES = sarge-security=i386,ia64 woody-security=i386 -PACKAGE_FILES = $(wildcard data/packages/*_Sources) \ - $(wildcard data/packages/*_Packages) all: $(PYTHON) bin/update-db clean: - -rm data/security.db + -rm data/security.db lib/python/test_security.db -rm stamps/*-* .PHONY: check check-syntax @@ -45,14 +38,15 @@ touch $@ .PHONY: update-packages update-etch-security +RELEASES = sarge etch sid update-packages: - set -e ; for rel in woody sarge etch sid ; do \ + set -e ; for rel in $(RELEASES) ; do \ for archive in main contrib non-free ; do \ $(PYTHON) bin/apt-update-file \ $(MIRROR)/dists/$$rel/$$archive/source/Sources \ data/packages/$${rel}__$${archive}_Sources ; \ done ; \ - for arch in i386 ia64 ; do \ + for arch in i386 ia64 alpha powerpc ; do \ for archive in main contrib non-free ; do \ $(PYTHON) bin/apt-update-file \ $(MIRROR)/dists/$$rel/$$archive/binary-$$arch/Packages \ @@ -60,7 +54,6 @@ done ; \ done ; \ done - touch stamps/packages-downloaded ST_MIRROR = http://secure-testing.debian.net/debian-secure-testing/dists/etch/security-updates ST_FILE = data/packages/etch_security_ @@ -71,6 +64,10 @@ $(ST_MIRROR)/main/binary-i386/Packages $(ST_FILE)main_i386_Packages $(PYTHON) bin/apt-update-file \ $(ST_MIRROR)/main/binary-ia64/Packages $(ST_FILE)main_ia64_Packages + $(PYTHON) bin/apt-update-file \ + $(ST_MIRROR)/main/binary-alpha/Packages $(ST_FILE)main_alpha_Packages + $(PYTHON) bin/apt-update-file \ + $(ST_MIRROR)/main/binary-powerpc/Packages $(ST_FILE)main_powerpc_Packages SEC_MIRROR = http://security.debian.org/dists update-security: @@ -78,7 +75,7 @@ $(PYTHON) bin/apt-update-file \ $(SEC_MIRROR)/$$archive/updates/main/source/Sources \ data/packages/$${archive}_security_main_Sources ; \ - for arch in i386 ia64 ; do \ + for arch in i386 ia64 alpha powerpc ; do \ $(PYTHON) bin/apt-update-file \ $(SEC_MIRROR)/$$archive/updates/main/binary-$$arch/Packages \ data/packages/$${archive}_security_main_$${arch}_Packages ; \