Author: fw Date: 2008-12-02 21:13:07 +0000 (Tue, 02 Dec 2008) New Revision: 10580 Modified: Makefile Log: Makefile: Add update-backports, as suggested by Gerfried Fuchs Modified: Makefile ==================================================================--- Makefile 2008-12-02 21:13:06 UTC (rev 10579) +++ Makefile 2008-12-02 21:13:07 UTC (rev 10580) @@ -95,3 +95,15 @@ data/packages/$${archive}_volatile_main_Sources ; \ done +BACKPORTS_MIRROR = http://www.backports.org/backports.org/dists +update-backports: + set -e && for archive in etch ; do \ + for arch in $(LENNY_ARCHS) ; do \ + $(PYTHON) bin/apt-update-file \ + $(BACKPORTS_MIRROR)/$${archive}-backports/main/binary-$$arch/Packages \ + data/packages/$${archive}_backports_main_$${arch}_Packages ; \ + done ; \ + $(PYTHON) bin/apt-update-file \ + $(BACKPORTS_MIRROR)/$${archive}-backports/main/source/Sources \ + data/packages/$${archive}_backports_main_Sources ; \ + done