summarylogtreecommitdiffstats
path: root/disable-doc-full-path-names.patch
diff options
context:
space:
mode:
authorJulian Sanin2016-07-10 11:27:10 +0200
committerJulian Sanin2016-07-10 11:27:10 +0200
commitc494f7da0ea6fe77b7fdf5e0b741b311c8e320df (patch)
tree11a42b7f801c7d0cd54fdf41427580a247ec72be /disable-doc-full-path-names.patch
parentc7f45a48cff472c995deee410a294c6f3dda3d5f (diff)
downloadaur-c494f7da0ea6fe77b7fdf5e0b741b311c8e320df.tar.gz
Bumped to version 1.2.0
Diffstat (limited to 'disable-doc-full-path-names.patch')
-rw-r--r--disable-doc-full-path-names.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/disable-doc-full-path-names.patch b/disable-doc-full-path-names.patch
new file mode 100644
index 000000000000..ae3c7d6ebcd9
--- /dev/null
+++ b/disable-doc-full-path-names.patch
@@ -0,0 +1,24 @@
+Description: Remove full path names from the documentation directory
+ On Arch Linux makepkg complains with:
+ WARNING: Package contains reference to $srcdir
+ meaning that the doxygen generated HTML files contain references to the source
+ directory of the build system. I.e. the documentation contains the absolute
+ path of the form:
+ /<path-to-package-build-system>/liberasurecode/src ...
+ which may not be the original intention. Therefore, the patch disables in the
+ doxygen configuration file the FULL_PATH_NAMES option to remove the parent
+ directories from the source directory upwards.
+Author: Julian Sanin <sanin89julian@gmail.com>
+Last-Update: 2016-07-10
+
+--- a/doc/doxygen.cfg.in
++++ b/doc/doxygen.cfg.in
+@@ -140,7 +140,7 @@
+ # shortest path that makes the file name unique will be used
+ # The default value is: YES.
+
+-FULL_PATH_NAMES = YES
++FULL_PATH_NAMES = NO
+
+ # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
+ # Stripping is only done if one of the specified strings matches the left-hand