diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-08-20 12:01:10 (GMT) |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-08-21 16:29:49 (GMT) |
commit | fd1dc823ed30a3d95e5a024bc68bb51d630284fc (patch) | |
tree | 708c5ee0c206cbab9e286b63a460fb62a513b3a5 | |
parent | 7475488af4876c3152af0298a01b06f0566a2730 (diff) | |
download | mxe-fd1dc823ed30a3d95e5a024bc68bb51d630284fc.zip mxe-fd1dc823ed30a3d95e5a024bc68bb51d630284fc.tar.gz mxe-fd1dc823ed30a3d95e5a024bc68bb51d630284fc.tar.bz2 |
Makefile: Add MXE_DISABLE_{PROGRAMS,DOCS,CRUFT}.
-rw-r--r-- | Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -68,6 +68,48 @@ MXE_CONFIGURE_OPTS = \ --enable-static --disable-shared , \ --disable-static --enable-shared ) +# Append these to the "make" and "make install" steps of autotools packages +# in order to neither build nor install unwanted binaries, manpages, +# infopages and API documentation (reduces build time and disk space usage). +# NOTE: We don't include bin_SCRIPTS (and variations), since many packages +# install files such as pcre-config (which we do want to be installed). + +MXE_DISABLE_PROGRAMS = \ + bin_PROGRAMS= \ + sbin_PROGRAMS= \ + noinst_PROGRAMS= \ + check_PROGRAMS= + +MXE_DISABLE_DOCS = \ + man_MANS= \ + man1_MANS= \ + man2_MANS= \ + man3_MANS= \ + man4_MANS= \ + man5_MANS= \ + man6_MANS= \ + man7_MANS= \ + man8_MANS= \ + man9_MANS= \ + dist_man_MANS= \ + dist_man1_MANS= \ + dist_man2_MANS= \ + dist_man3_MANS= \ + dist_man4_MANS= \ + dist_man5_MANS= \ + dist_man6_MANS= \ + dist_man7_MANS= \ + dist_man8_MANS= \ + dist_man9_MANS= \ + notrans_dist_man_MANS= \ + info_TEXINFOS= \ + doc_DATA= \ + dist_doc_DATA= \ + html_DATA= \ + dist_html_DATA= + +MXE_DISABLE_CRUFT = $(MXE_DISABLE_PROGRAMS) $(MXE_DISABLE_DOCS) + MAKE_SHARED_FROM_STATIC = \ '$(TOP_DIR)/tools/make-shared-from-static' \ $(if $(findstring mingw,$(TARGET)),--windowsdll) \ |