Document the new DOS2UNIX_WRKSRC variable.
Sponsored by: Absolight
This commit is contained in:
parent
d7fb15fd8f
commit
a40deb00f2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48373
2 changed files with 15 additions and 1 deletions
|
|
@ -441,6 +441,14 @@ DOS2UNIX_REGEX= .*\.([ch]|cpp)</programlisting>
|
|||
|
||||
<programlisting>USES= dos2unix
|
||||
DOS2UNIX_GLOB= *.c *.cpp *.h</programlisting>
|
||||
|
||||
<para>If there are more than one distribution file and some
|
||||
other than the default need to have files converted, the base
|
||||
directory for the conversions can be changed so that they are
|
||||
also converted.</para>
|
||||
|
||||
<programlisting>USES= dos2unix
|
||||
DOS2UNIX_WRKSRC= ${WRKDIR}</programlisting>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
|
|
|
|||
|
|
@ -355,7 +355,7 @@
|
|||
<para>Possible arguments: (none)</para>
|
||||
|
||||
<para>The port has files with line endings in
|
||||
<acronym>DOS</acronym> format which need to be converted. Three
|
||||
<acronym>DOS</acronym> format which need to be converted. Four
|
||||
variables can be set to control which files will be converted.
|
||||
The default is to convert <emphasis>all</emphasis> files,
|
||||
including binaries. See <xref
|
||||
|
|
@ -377,6 +377,12 @@
|
|||
<para><varname>DOS2UNIX_GLOB</varname>: match file names based
|
||||
on a glob pattern.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><varname>DOS2UNIX_WRKSRC</varname>: the directory from
|
||||
which to start doing the conversions, defaults to
|
||||
<literal>${WRKSRC}</literal>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect1>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue