From: Kristian Høgsberg Date: Tue, 18 Sep 2007 18:14:34 +0000 (-0400) Subject: Add makefile rule to download and import yum data. X-Git-Tag: 0.1~334 X-Git-Url: http://project.juiblex.co.uk/git/?a=commitdiff_plain;h=6abcf182981d608326321e31f72322f324274384;p=razor.git Add makefile rule to download and import yum data. --- diff --git a/Makefile b/Makefile index a336b85..05ecfce 100644 --- a/Makefile +++ b/Makefile @@ -3,5 +3,11 @@ LDLIBS = -lexpat -g razor : razor.o sha1.o +import : razor primary.xml.gz + zcat primary.xml.gz | ./razor eat-yum + +primary.xml.gz : + wget http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/repodata/primary.xml.gz + clean : rm -f *.o razor