diff Makefile.in @ 4302:3d168da55e47

disable instakll of docs * Makefile.in: create MXE_DISABLE_DOCS target list * src/curl.mk: add MXE_DISABLE_DOCS to install * src/dbus.mk: add MXE_DISABLE_DOCS to install * src/fftw.mk: add MXE_DISABLE_DOCS to install * src/gettext.mk: add MXE_DISABLE_DOCS to install, remove installed html docs * src/graphicsmagick.mk: delete doc files in install * src/hdf5.mk: delete examples in install
author John D
date Fri, 30 Dec 2016 21:28:46 -0500
parents b6819fef128f
children eac52a8a7822
line wrap: on
line diff
--- a/Makefile.in	Fri Dec 30 11:27:58 2016 -0500
+++ b/Makefile.in	Fri Dec 30 21:28:46 2016 -0500
@@ -158,6 +158,28 @@
   WITH_SHARED_OR_STATIC := --without-shared --with-static
 endif
 
+ifeq ($(ENABLE_DEP_DOCS),no)
+  MXE_DISABLE_DOCS := \
+    man_MANS= \
+    man1_MANS= \
+    man2_MANS= \
+    man3_MANS= \
+    man4_MANS= \
+    man5_MANS= \
+    dist_man_MANS= \
+    doc_DATA= \
+    dist_doc_DATA= \
+    html_DATA= \
+    dist_html_DATA= \
+    examples_DATA= \
+    dist_examples_SCRIPTS= \
+    INFO_DEPS= 
+else
+  MXE_DISABLE_DOCS :=
+endif
+
+MXE_DISABLE_PROGS := bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= 
+
 ifeq ($(USE_PIC_FLAG),yes)
   MXE_CC_PICFLAG := -fPIC
   MXE_CXX_PICFLAG := -fPIC