s/builddir/top_builddir/ (Luciano Miguel Ferreira Rocha).
[libguestfs.git] / Makefile.am
index fb1d42b..416fcb1 100644 (file)
@@ -70,11 +70,11 @@ $(INITRAMFSIMG) $(VMLINUZ): initramfs/fakeroot.log
 initramfs/fakeroot.log: make-initramfs.sh.in
        -mv $(INITRAMFSIMG) $(INITRAMFSIMG).bak
        -mv $(VMLINUZ) $(VMLINUZ).bak
 initramfs/fakeroot.log: make-initramfs.sh.in
        -mv $(INITRAMFSIMG) $(INITRAMFSIMG).bak
        -mv $(VMLINUZ) $(VMLINUZ).bak
-       if ! bash $(builddir)/make-initramfs.sh; then rm -f $@; exit 1; fi
+       if ! bash $(top_builddir)/make-initramfs.sh; then rm -f $@; exit 1; fi
 
 $(INITRAMFSIMG): initramfs/fakeroot.log daemon/guestfsd
        rm -f $@
 
 $(INITRAMFSIMG): initramfs/fakeroot.log daemon/guestfsd
        rm -f $@
-       bash $(builddir)/update-initramfs.sh
+       bash $(top_builddir)/update-initramfs.sh
        touch $@
 
 # Tests.  These are auto-generated from the test descriptions.
        touch $@
 
 # Tests.  These are auto-generated from the test descriptions.
@@ -193,7 +193,7 @@ test-boot-realistic: emptydisk
 
 # Make clean.
 
 
 # Make clean.
 
-CLEANFILES = $(fs_DATA) emptydisk pod2htm?.tmp *~ html/*~
+CLEANFILES = $(fs_DATA) emptydisk pod2htm?.tmp *~ html/*~ recipes/*~
 
 clean-local:
        rm -rf initramfs
 
 clean-local:
        rm -rf initramfs