The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / ejabberd / 0006-remove-doc.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/ejabberd/0006-remove-doc.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/ejabberd/0006-remove-doc.patch
new file mode 100644 (file)
index 0000000..0c0a21b
--- /dev/null
@@ -0,0 +1,26 @@
+Description: remove installing documentation
+ Without this patch, the Makefile will try to install ejabberd
+ documentation even if it is not generated, which will fail.
+Author: Johan Oudinet <johan.oudinet@gmail.com>
+
+Index: ejabberd/Makefile.in
+===================================================================
+--- ejabberd.orig/Makefile.in  2014-10-21 16:43:42.604972005 +0200
++++ ejabberd/Makefile.in       2014-10-21 16:45:12.419989667 +0200
+@@ -156,16 +156,6 @@ install: all
+       $(INSTALL) -d -m 750 $(O_USER) $(LOGDIR)
+       $(CHOWN_COMMAND) -R @INSTALLUSER@ $(LOGDIR) >$(CHOWN_OUTPUT)
+       chmod -R 750 $(LOGDIR)
+-      #
+-      # Documentation
+-      $(INSTALL) -d $(DOCDIR)
+-      $(INSTALL) -m 644 doc/dev.html $(DOCDIR)
+-      $(INSTALL) -m 644 doc/guide.html $(DOCDIR)
+-      $(INSTALL) -m 644 doc/*.png $(DOCDIR)
+-      [ -f doc/guide.pdf ] \
+-              && $(INSTALL) -m 644 doc/guide.pdf $(DOCDIR) \
+-              || echo "No doc/guide.pdf was built"
+-      $(INSTALL) -m 644 COPYING $(DOCDIR)
+ uninstall: uninstall-binary