diff options
author | Hilko Bengen <bengen@hilluzination.de> | 2011-08-17 00:42:00 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-08-17 10:27:29 +0100 |
commit | 0938e43a60f9d729d9795cf45498e60217fece0e (patch) | |
tree | 7b022e7b0109486bfa273eae381aa7c88751a000 | |
parent | 8876b2d3764b42ebae3c5fdf61b1899095508169 (diff) | |
download | libguestfs-0938e43a60f9d729d9795cf45498e60217fece0e.tar.gz libguestfs-0938e43a60f9d729d9795cf45498e60217fece0e.tar.xz libguestfs-0938e43a60f9d729d9795cf45498e60217fece0e.zip |
out-of-tree build: fix make and make install
$(srcdir) is not needed for guestfs_c.c.
*.mli only exists in $(srcdir) and isn't found on "make install" otherwise
-rw-r--r-- | ocaml/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index 7028fa4a..8daa6717 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -53,7 +53,7 @@ mlguestfs.cmxa: $(XOBJS) $(OCAMLMKLIB) -o mlguestfs $^ -L$(top_builddir)/src/.libs -lguestfs guestfs_c.o: guestfs_c.c - $(CC) $(AM_CPPFLAGS) $(CFLAGS) -fPIC -Wall -c $(srcdir)/$< + $(CC) $(AM_CPPFLAGS) $(CFLAGS) -fPIC -Wall -c $< guestfs_c_actions.o: guestfs_c_actions.c $(CC) $(AM_CPPFLAGS) $(CFLAGS) -fPIC -Wall -c $(srcdir)/$< @@ -149,7 +149,7 @@ install-data-hook: $(OCAMLFIND) install \ -ldconf ignore -destdir $(DESTDIR)$(OCAMLLIB) \ guestfs \ - META *.so *.a *.cma *.cmx *.cmxa *.cmi *.mli + META *.so *.a *.cma *.cmx *.cmxa *.cmi $(srcdir)/*.mli CLEANFILES += $(noinst_DATA) |