File: 01-fix-tcllibpath.diff

package info (click to toggle)
tclxml 3.3~svn11-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,392 kB
  • sloc: ansic: 13,292; tcl: 11,656; xml: 3,269; sh: 559; makefile: 15
file content (24 lines) | stat: -rw-r--r-- 1,040 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Fix the TCLLIBPATH to generate missing docs
Author: Andrew O. Shadoura <bugzilla@tut.by>

diff --git a/Makefile.in b/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -135,7 +135,7 @@
 
 EXTRA_PATH	= $(top_builddir):$(TCL_BIN_DIR)
 #EXTRA_PATH     = $(top_builddir):$(TCL_BIN_DIR):$(TK_BIN_DIR)
-TCLLIBPATH      = $(top_builddir)
+TCLLIBPATH      = $(CURDIR)/debian/tmp/usr/lib/Tclxml3.3
 TCLSH_ENV	= TCL_LIBRARY=`@CYGPATH@ $(TCL_SRC_DIR)/library` \
 		  @LD_LIBRARY_PATH_VAR@="$(EXTRA_PATH):$(@LD_LIBRARY_PATH_VAR@)" \
 		  PATH="$(EXTRA_PATH):$(PATH)" \
@@ -212,7 +212,7 @@
 	-$(TCLSH) doc/transform.tcl doc/tclxslt.xml doc/html.xsl doc/tclxslt.html
 	-$(TCLSH) doc/transform.tcl doc/tclxslt.xml doc/nroff.xsl doc/tclxslt.n
 	-$(TCLSH) doc/transform.tcl doc/README.xml doc/html.xsl README.html
-	-$(TCLSH) doc/transform.tcl doc/README.xml doc/txt.xsl -o README
+	-$(TCLSH) doc/transform.tcl doc/README.xml doc/txt.xsl README
 
 # Do not install the documentation by default,
 # since it may not have been built (see above).