X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=f098f2926de64b262db767c20dab385ba6b76505;hb=cc7a490c49e75e0c0b29098f212ed3c0f3f73612;hp=0fec87d0c5bb8a68e0e8f3f3a16c4b43cc276f1e;hpb=502d99a2567724ac5153a0eaa64bc13e8d13ce24;p=virt-p2v.git diff --git a/Makefile b/Makefile index 0fec87d..f098f29 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ all: @echo "make build Build the live CD ISO" @echo "make boot [ISO=foo.iso] Boot built/named ISO (uses qemu)" -build: livecd-test.ks +build: livecd.ks rm -f $(LABEL).iso livecd-creator \ --config=$< \ @@ -39,7 +39,7 @@ ISO = $(LABEL).iso boot: qemu -m 512 -cdrom $(ISO) -livecd-test.ks: livecd-test.ks.in livecd-post.sh Makefile +livecd.ks: livecd.ks.in livecd-post.sh Makefile sed \ -e 's|@BASEREPO@|$(BASEREPO)|g' \ -e 's|@LANG@|$(LANG)|g' \ @@ -54,3 +54,6 @@ livecd-post.sh: livecd-post.sh.in p2v.init virt-p2v.sh Makefile -e '/@VIRT-P2V.SH@/ r virt-p2v.sh' \ -e '/@VIRT-P2V.SH@/ d' \ < $< > $@ + +clean: + rm -f *~ core livecd.ks livecd-post.sh