systemd is now officially hosted on github
authorMike Gilbert <floppym@gentoo.org>
Thu, 4 Jun 2015 21:32:52 +0000 (17:32 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 4 Jun 2015 21:32:52 +0000 (17:32 -0400)
Makefile

index d6bfeedf8fbd24b61244a98d36d6bb3208abe362..6c79b3e7deafa0494c3d7e09be5947ea66e802f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,8 @@ ALL_TARGETS-$(UDEV) += udev-hwdb
 INSTALL_TARGETS-yes = install-base
 INSTALL_TARGETS-$(UDEV) += install-hwdb
 
+SYSTEMD_SOURCE = https://github.com/systemd/systemd/raw/master/hwdb
+
 all: $(ALL_TARGETS-yes)
 
 install: $(INSTALL_TARGETS-yes)
@@ -40,15 +42,15 @@ fetch:
        $(Q)curl -z usb.ids -o usb.ids -R http://www.linux-usb.org/usb.ids
        $(Q)curl -z oui.txt -o oui.txt -R http://standards-oui.ieee.org/oui.txt
        $(Q)curl -z iab.txt -o iab.txt -R http://standards.ieee.org/develop/regauth/iab/iab.txt
-       $(Q)curl -z sdio.ids -o sdio.ids -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/sdio.ids
-       $(Q)curl -z udev/20-acpi-vendor.hwdb -o udev/20-acpi-vendor.hwdb -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/20-acpi-vendor.hwdb
-       $(Q)curl -z udev/20-bluetooth-vendor-product.hwdb -o udev/20-bluetooth-vendor-product.hwdb -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/20-bluetooth-vendor-product.hwdb
-       $(Q)curl -z udev/20-net-ifname.hwdb -o udev/20-net-ifname.hwdb -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/20-net-ifname.hwdb
-       $(Q)curl -z udev/60-keyboard.hwdb -o udev/60-keyboard.hwdb -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/60-keyboard.hwdb
-       $(Q)curl -z udev/70-mouse.hwdb -o udev/70-mouse.hwdb -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/70-mouse.hwdb
-       $(Q)curl -z udev/70-pointingstick.hwdb -o udev/70-pointingstick.hwdb -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/70-pointingstick.hwdb
-       $(Q)curl -z udev/70-touchpad.hwdb -o udev/70-touchpad.hwdb -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/70-touchpad.hwdb
-       $(Q)curl -z udev-hwdb-update.pl -o udev-hwdb-update.pl -R http://cgit.freedesktop.org/systemd/systemd/plain/hwdb/ids-update.pl
+       $(Q)curl -L -z sdio.ids -o sdio.ids -R $(SYSTEMD_SOURCE)/sdio.ids
+       $(Q)curl -L -z udev/20-acpi-vendor.hwdb -o udev/20-acpi-vendor.hwdb -R $(SYSTEMD_SOURCE)/20-acpi-vendor.hwdb
+       $(Q)curl -L -z udev/20-bluetooth-vendor-product.hwdb -o udev/20-bluetooth-vendor-product.hwdb -R $(SYSTEMD_SOURCE)/20-bluetooth-vendor-product.hwdb
+       $(Q)curl -L -z udev/20-net-ifname.hwdb -o udev/20-net-ifname.hwdb -R $(SYSTEMD_SOURCE)/20-net-ifname.hwdb
+       $(Q)curl -L -z udev/60-keyboard.hwdb -o udev/60-keyboard.hwdb -R $(SYSTEMD_SOURCE)/60-keyboard.hwdb
+       $(Q)curl -L -z udev/70-mouse.hwdb -o udev/70-mouse.hwdb -R $(SYSTEMD_SOURCE)/70-mouse.hwdb
+       $(Q)curl -L -z udev/70-pointingstick.hwdb -o udev/70-pointingstick.hwdb -R $(SYSTEMD_SOURCE)/70-pointingstick.hwdb
+       $(Q)curl -L -z udev/70-touchpad.hwdb -o udev/70-touchpad.hwdb -R $(SYSTEMD_SOURCE)/70-touchpad.hwdb
+       $(Q)curl -L -z udev-hwdb-update.pl -o udev-hwdb-update.pl -R $(SYSTEMD_SOURCE)/ids-update.pl
        $(Q)$(STATUS)
 
 PV ?= $(shell ( awk '$$2 == "Date:" { print $$3; nextfile }' pci.ids usb.ids; git log --format=format:%ci -1 -- oui.txt udev/20-acpi-vendor.hwdb udev/20-bluetooth-vendor-product.hwdb udev/20-net-ifname.hwdb udev/60-keyboard.hwdb udev/70-mouse.hwdb udev/70-pointingstick.hwdb udev/70-touchpad.hwdb udev-hwdb-update.pl | cut -d ' ' -f1; ) | sort | tail -n 1 | tr -d -)