Add update-popcon Makefile target (taken from Skolelinux).

This commit is contained in:
Joey Hess 2004-06-29 22:21:28 +00:00
parent e2d87d10ae
commit 4167ac3889
2 changed files with 19 additions and 0 deletions

View File

@ -1020,6 +1020,24 @@ conf:
mirrorcheck: ok apt-update mirrorcheck: ok apt-update
$(Q)$(apt) cache dumpavail | $(mirrorcheck) $(Q)$(apt) cache dumpavail | $(mirrorcheck)
update-popcon: tasks/popularity-contest-$(CODENAME)
tasks/popularity-contest-$(CODENAME):
rm -f popcon-inst
( \
echo '/*' ; \
echo ' Popularity Contest results' ; \
echo ' See the README for details on updating.' ; \
echo '' ; \
echo ' Last update: $$Date$$' ; \
echo '*/' ; \
echo '' ; \
) > $@
wget --output-document popcon-inst \
http://popcon.debian.org/main/by_inst \
http://popcon.debian.org/contrib/by_inst
grep -h '^[^#]' popcon-inst | egrep -v '(Total|-----)' | \
sort -rn -k3,3 -k7,7 -k4,4 | awk '{print $$2}' >> $@
# Little trick to simplify things # Little trick to simplify things
official_images: bin-official_images src-official_images official_images: bin-official_images src-official_images
bin-official_images: ok bootable upgrade bin-images bin-official_images: ok bootable upgrade bin-images

1
debian/changelog vendored
View File

@ -26,6 +26,7 @@ debian-cd (2.2.18) UNRELEASED; urgency=low
- Add usbutils to netinst cds, it'll be installed by a future version - Add usbutils to netinst cds, it'll be installed by a future version
of hw-detect. of hw-detect.
- Add tools/get_diskusage.pl (originally by Petter). - Add tools/get_diskusage.pl (originally by Petter).
- Add update-popcon Makefile target (taken from Skolelinux).
* Petter Reinholdtsen * Petter Reinholdtsen
- Regenereated tasks/popularity-contest-sarge based on the current data. - Regenereated tasks/popularity-contest-sarge based on the current data.
- Avoid kernel versions 2.4.24 and 2.6.3 on the first i386 CD, as we - Avoid kernel versions 2.4.24 and 2.6.3 on the first i386 CD, as we