[tex-live] Proposition of fix for strange path problems in man pages

Norbert Preining preining@logic.at
Thu, 18 Apr 2002 16:47:32 +0200


On Mit, 17 Apr 2002, Vladimir Volovich wrote:
> the files lacheck.1, fixmacps.1, includeres.1 which are installed,

Also the files fixmacps and includeres have the same problem.

Here is a diff which should fix this problem. Comments see below:


--- ./TeX/texk/lacheck/Makefile.in.orig	Thu Apr 18 16:25:58 2002
+++ ./TeX/texk/lacheck/Makefile.in	Thu Apr 18 16:26:19 2002
@@ -43,7 +43,7 @@
 lacheck.1: 	lacheck.man  
 	-sed -e "s!%%LACHECKREV%%!Release $(REV)!" $(srcdir)/lacheck.man |\
 	sed -e "s!%%LACHECKDATE%%!`date +%D`!" |\
-	sed -e "s!%%LACHECKPATH%%!$(bindir)/lacheck!" > $@ 
+	sed -e "s!%%LACHECKPATH%%!lacheck!" > $@ 
 
 ac_include ../make/dist.mk
 ac_include ../make/config.mk

This one should fix the problem of lacheck.



--- ./TeX/utils/psutils/fixmacps.pl.orig	Thu Apr 18 16:39:42 2002
+++ ./TeX/utils/psutils/fixmacps.pl	Thu Apr 18 16:39:34 2002
@@ -5,7 +5,7 @@
 # See file LICENSE for details.
 
 $line = 0;			# keep line count
-$dir = "@INCLUDE@";
+$dir = "";
 $prefix = "md";
 $default = "md71_0.ps";


The programm fixmacps does not need $dir to be set at all.


 
--- ./TeX/utils/psutils/fixmacps.man.orig	Thu Apr 18 16:40:22 2002
+++ ./TeX/utils/psutils/fixmacps.man	Thu Apr 18 16:40:33 2002
@@ -16,7 +16,7 @@
 .B psutils
 package.
 .SH FILES
-@INCLUDE@/md68_0.ps, @INCLUDE@/md71_0.ps - sanitised versions of the md
+md68_0.ps, md71_0.ps - sanitised versions of the md
 prologue.
 .SH AUTHOR
 Copyright (C) Angus J. C. Duggan 1991-1995

The reference in the manpages are similar.


--- ./TeX/utils/psutils/includeres.pl.orig	Thu Apr 18 16:40:48 2002
+++ ./TeX/utils/psutils/includeres.pl	Thu Apr 18 16:41:15 2002
@@ -28,7 +28,7 @@
       local($comment, @res) = split(/\s+/);
       local($type) = defined($type{$comment}) ? $type{$comment} : shift(@res);
       local($name) = &filename(@res);
-      local($inc) = "@INCLUDE@"; # system include directory
+      local($inc) = ""; # system include directory
       if (open(RES, $name) || open(RES, "$name$extn{$type}") ||
 	  open(RES, "$inc/$name") || open(RES, "$inc/$name$extn{$type}")) {
 	 while (<RES>) {


Program includeres has the same useless $dir setting.



--- ./TeX/utils/psutils/includeres.man.orig	Thu Apr 18 16:41:25 2002
+++ ./TeX/utils/psutils/includeres.man	Thu Apr 18 16:41:46 2002
@@ -27,7 +27,7 @@
 .I pstops
 safely.
 .SH FILES
-@INCLUDE@ - system resource directory.
+??? - system resource directory.
 .SH AUTHOR
 Copyright (C) Angus J. C. Duggan 1991-1995
 .SH "SEE ALSO"

This is the only question open, What should be put in here???


Best wishes

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining@logic.at>   University of Technology Vienna, Austria
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
PEVENSEY (n. archaic)

The right to collect shingle from the king's foreshore.

			--- Douglas Adams, The Meaning of Liff