pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files doc/guide: fix references to relative ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2329c49ab85
branches:  trunk
changeset: 399907:e2329c49ab85
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Aug 18 16:35:16 2019 +0000

description:
doc/guide: fix references to relative directories

For more than 15 years, pkglint complains about relative directories that
take shortcuts. All relative paths between packages should first go up to
the pkgsrc root and from there to the package.

diffstat:

 doc/guide/files/components.xml |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 327a649e7992 -r e2329c49ab85 doc/guide/files/components.xml
--- a/doc/guide/files/components.xml    Sun Aug 18 16:18:04 2019 +0000
+++ b/doc/guide/files/components.xml    Sun Aug 18 16:35:16 2019 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: components.xml,v 1.56 2018/11/05 20:36:35 rillig Exp $ -->
+<!-- $NetBSD: components.xml,v 1.57 2019/08/18 16:35:16 rillig Exp $ -->
 
 <chapter id="components"> <?dbhtml filename="components.html"?>
 <title>Package components - files, directories and contents</title>
@@ -320,7 +320,7 @@
   <varname>PATCHDIR</varname> to the path where the patch files
   can be found, e.g.:</para>
 <programlisting>
-PATCHDIR= ${.CURDIR}/../xemacs/patches
+PATCHDIR=       ../../editors/xemacs/patches
 </programlisting>
 
     <para>Patch files that are distributed by the author or other
@@ -704,7 +704,7 @@
     to the other package's <filename>files</filename> directory,
     e.g.:</para>
 <programlisting>
-FILESDIR=${.CURDIR}/../xemacs/files
+FILESDIR=       ../../editors/xemacs/files
 </programlisting>
   </sect1>
 </chapter>



Home | Main Index | Thread Index | Old Index