Package: pd-flite / 0.02.3-3

fix-help-files-install-dir.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: fix configure to install help-files to extdir
Author: Roman Haefeli <reduzent@gmail.com>
Last-Update: 2017-05-29
--- pd-flite.orig/common/m4/ax_pd_external.m4
+++ pd-flite/common/m4/ax_pd_external.m4
@@ -146,9 +146,6 @@
 	[pddir="\${prefix}/pd"])
  AC_SUBST(pddir)
 
- pddocdir="${pddir}/doc/5.reference"
- AC_SUBST(pddocdir)
-
  ##-- pdincludedir
  AC_ARG_WITH(pd-include,
 	AC_HELP_STRING([--with-pd-include=DIR], [Pd include directory (default=NONE)]),
@@ -171,6 +168,11 @@
  pdexecdir="$pdextdir"
  AC_SUBST(pdexternsdir)
  AC_SUBST(pdexecdir)
+
+ # Nowadays the help files usually are installed besides the class files
+ pddocdir="${pdextdir}"
+ AC_SUBST(pddocdir)
+
  ## pd-directory/ies
  ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^