X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=caf401105e18038dc727c1b198fbfa8e3299560f;hb=aee03601ac923906391b438bc4040c4a4265112d;hp=8450892638f48732b821824ff93466c5ac845165;hpb=d3110e6318aa040e499479640ce33efe5ccc0f3e;p=qemu-sanity-check.git diff --git a/Makefile.am b/Makefile.am index 8450892..caf4011 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,25 @@ EXTRA_DIST = \ CLEANFILES = qemu-sanity-check bin_SCRIPTS = qemu-sanity-check +initrddir = $(libdir)/qemu-sanity-check +initrd_DATA = initrd + +# Build the initramfs. +initrd: init + echo $< | cpio --quiet -o -H newc > $@-t + mv $@-t $@ + +noinst_PROGRAMS = init +init_SOURCES = init.c +init_CFLAGS = -static +init_LDFLAGS = -static + +# Build the man pages. +qemu-sanity-check.pod: qemu-sanity-check.pod.in Makefile + rm -f $@ $@-t + $(SED) -e 's,@libdir\@,$(libdir),g' < $< > $@-t + mv $@-t $@ + chmod 0555 $@ if HAVE_POD2MAN @@ -35,4 +54,5 @@ qemu-sanity-check.1: qemu-sanity-check.pod endif -TESTS = qemu-sanity-check +# Tests. +TESTS = run-qemu-sanity-check