vcpkg/ports/mpfr/src-only.patch
Kai Pastor 55e666af39
[mpfr] Skip doc and examples (#22859)
* Trim build

* Update license info

* Update versions

* Remove mpfr from ci baseline
2022-02-16 12:56:41 -08:00

21 lines
616 B
Diff

diff --git a/Makefile.am b/Makefile.am
index 89242c6..662ce24 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,12 +24,14 @@ AUTOMAKE_OPTIONS = gnu
# old Automake version.
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = doc src tests tune tools/bench
+SUBDIRS = src # Skipping: doc tests tune tools/bench
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mpfr.pc
nobase_dist_doc_DATA = AUTHORS BUGS COPYING COPYING.LESSER NEWS TODO \
+ # BREAK
+VCPKG_SKIP_EXAMPLES = \
examples/ReadMe examples/can_round.c examples/divworst.c \
examples/rndo-add.c examples/sample.c examples/threads.c \
examples/version.c