X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=Makefile.am;h=cbc4c598a0b61fc30742c7ee11391e820d381c1a;hp=efff2750827f40936658a529c29e276803fb823c;hb=8c07ad6191e2a13cf240a47dbed72afdc4010aa4;hpb=91df7a164befc0c9a24f85733837874da5a057ac diff --git a/Makefile.am b/Makefile.am index efff275..cbc4c59 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,4 +15,27 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -SUBDIRS = daemon src examples +SUBDIRS = src daemon examples + +EXTRA_DIST = make-initramfs.sh + +# Build the root filesystem. +# Currently this is arch-dependent, so it seems like putting it in +# $(libdir) is best. When we build cross-architecture filesystems we +# should probably move them to $(datadir). + +fsdir = $(libdir)/guestfs + +fs_DATA = initramfs.$(REPO).$(host_cpu).img vmlinuz.$(REPO).$(host_cpu) + +$(fs_DATA): make-initramfs.sh.in daemon/guestfsd + $(builddir)/make-initramfs.sh + +.PHONY: daemon/guestfsd + +# Make clean. + +CLEANFILES = $(fs_DATA) + +clean-local: + rm -rf initramfs