mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
More misc fixes to non-srcdir builds.
This commit is contained in:
@@ -144,7 +144,7 @@ test-boot-realistic: emptydisk
|
||||
|
||||
# Make clean.
|
||||
|
||||
CLEANFILES = $(APPLIANCE_FILES) packagelist kmod.whitelist
|
||||
CLEANFILES = $(APPLIANCE_FILES) packagelist kmod.whitelist supermin.incfiles
|
||||
|
||||
clean-local:
|
||||
rm -rf $(top_builddir)/initramfs
|
||||
|
||||
@@ -48,6 +48,11 @@ all: Makefile-pl
|
||||
Makefile-pl: Makefile.PL
|
||||
perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
|
||||
|
||||
CLEANFILES = Makefile-pl
|
||||
|
||||
clean-local:
|
||||
-$(MAKE) -f Makefile-pl clean
|
||||
|
||||
install-data-hook:
|
||||
$(MAKE) -f Makefile-pl DESTDIR=$(DESTDIR) install
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ PKG_VERSION='@PACKAGE_VERSION@'
|
||||
EXT_CONF='@srcdir@/ext/guestfs/extconf.rb'
|
||||
MAKEFILE='@builddir@/ext/guestfs/Makefile'
|
||||
GUESTFS_MODULE='@builddir@/ext/guestfs/_guestfs.so'
|
||||
GUESTFS_SRC='@builddir@/ext/guestfs/_guestfs.c'
|
||||
GUESTFS_SRC='@srcdir@/ext/guestfs/_guestfs.c'
|
||||
|
||||
CLEAN.include [ "@builddir@/ext/**/*.o", GUESTFS_MODULE,
|
||||
"@builddir@/ext/**/depend" ]
|
||||
|
||||
Reference in New Issue
Block a user