From a8b26aaab922fdb15940cb7f8bcb3a095d2a0bae Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 24 Apr 2013 20:36:04 +0100 Subject: [PATCH] haskell: Fix separated builds. --- haskell/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haskell/Makefile.am b/haskell/Makefile.am index 5328ca06d..ed2224c41 100644 --- a/haskell/Makefile.am +++ b/haskell/Makefile.am @@ -18,7 +18,7 @@ include $(top_srcdir)/subdir-rules.mk generator_built = \ - Guestfs.hs \ + $(srcdir)/Guestfs.hs \ Bindtests.hs # $(generator_built) isn't redundant below as the wildcard rule won't match, and @@ -85,7 +85,7 @@ built_tests = Bindtests Guestfs010Load Guestfs030Config Guestfs050LVCreate # directories per target. $(built_tests): %: %.hs Guestfs.hs - $(GHC) $(GHCFLAGS) --make -main-is $@ -odir .$@ -o $@ $< Guestfs.hs -lguestfs + $(GHC) $(GHCFLAGS) --make -main-is $@ -odir .$@ -o $@ $< $(srcdir)/Guestfs.hs -lguestfs CLEANFILES = $(all_targets) *~ *.hi *.o test.img