summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--libguestfs.spec.in6
-rw-r--r--perl/Makefile.am7
3 files changed, 9 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 2345018f..4204624c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,7 +35,8 @@ EXTRA_DIST = \
guestfish.pod guestfish-actions.pod \
libguestfs.spec \
html/pod.css \
- HACKING
+ HACKING \
+ tests.c
# Build the root filesystem.
# Currently this is arch-dependent, so it seems like putting it in
diff --git a/libguestfs.spec.in b/libguestfs.spec.in
index 8a653a78..99a77980 100644
--- a/libguestfs.spec.in
+++ b/libguestfs.spec.in
@@ -161,8 +161,8 @@ rm -rf .deps .libs
popd
# Same for ocaml/examples.
-cp -a ocaml/examples ocaml-ex
-pushd ocaml-ex
+cp -a ocaml/examples ocaml/ex
+pushd ocaml/ex
make clean
rm Makefile*
popd
@@ -217,7 +217,7 @@ rm -rf $RPM_BUILD_ROOT
%files ocaml-devel
%defattr(-,root,root,-)
-%doc ocaml-ex
+%doc ocaml/ex
%{_libdir}/ocaml/guestfs/*.a
%{_libdir}/ocaml/guestfs/*.cmxa
%{_libdir}/ocaml/guestfs/*.cmx
diff --git a/perl/Makefile.am b/perl/Makefile.am
index c72d0452..7ff52d94 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -18,12 +18,13 @@
EXTRA_DIST = \
Makefile.PL.in \
Guestfs.xs \
- typemap \
- lib/Sys/Guestfs.pm \
examples/README \
examples/LICENSE \
examples/*.pl \
- t/*.t
+ lib/Sys/Guestfs.pm \
+ run-perl-tests \
+ t/*.t \
+ typemap
CLEANFILES = *~ examples/*~ t/*~