[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 10/12] haskell: Fix separated builds.



From: "Richard W.M. Jones" <rjones redhat com>

---
 haskell/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/haskell/Makefile.am b/haskell/Makefile.am
index 5328ca0..ed2224c 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
-- 
1.8.1.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]