Skip to content
Snippets Groups Projects
Commit b99eda97 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

testing/ocaml-cppo: remove .ml files from -dev

parent 9a9bc30b
No related branches found
No related tags found
No related merge requests found
...@@ -33,11 +33,14 @@ package() { ...@@ -33,11 +33,14 @@ package() {
--destdir="$pkgdir/usr" \ --destdir="$pkgdir/usr" \
--libdir="$pkgdir/usr/lib/ocaml" --libdir="$pkgdir/usr/lib/ocaml"
# Remove compiled tests cd "$pkgdir"
rm -Rf "$pkgdir"/usr/lib/ocaml/$_pkgname*/*.cmt*
# Remove annotation files and sources.
rm -Rf usr/lib/ocaml/$_pkgname*/*.cmt*
rm -Rf usr/lib/ocaml/$_pkgname*/*.ml
# Nothing interesting here. # Nothing interesting here.
rm -Rf "$pkgdir"/usr/doc rm -Rf usr/doc
} }
dev() { dev() {
...@@ -48,7 +51,7 @@ dev() { ...@@ -48,7 +51,7 @@ dev() {
cd "$pkgdir"/$sitelib cd "$pkgdir"/$sitelib
mkdir -p "$subpkgdir"/$sitelib mkdir -p "$subpkgdir"/$sitelib
mv *.cmx *.cmxa *.ml *.mli "$subpkgdir"/$sitelib/ mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/
} }
sha512sums="89c6df66d597d929be7532ad82f0206b028bdbd79a0b4b39451bce3fa5bd63a80dce931d575f69bd7066de829347498c736657dfe9610b20700a652b9b542a4d ocaml-cppo-1.6.4.tar.gz" sha512sums="89c6df66d597d929be7532ad82f0206b028bdbd79a0b4b39451bce3fa5bd63a80dce931d575f69bd7066de829347498c736657dfe9610b20700a652b9b542a4d ocaml-cppo-1.6.4.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment