[asterisk-bugs] [Asterisk 0013062]: [patch] doc/tex/Makefile uses non-portable -i flag for sed
noreply at bugs.digium.com
noreply at bugs.digium.com
Sun Jul 13 10:07:13 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13062
======================================================================
Reported By: mvanbaak
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13062
Category: Documentation
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 07-12-2008 09:06 CDT
Last Modified: 07-13-2008 10:07 CDT
======================================================================
Summary: [patch] doc/tex/Makefile uses non-portable -i flag
for sed
Description:
While trying to generate the HTML docs from the tex source I ran into the
problem that the sed calls in doc/tex/Makefile use the -i flag.
This flag is not present on every system.
Besides that, the sed calls are useless because it tries to replace
ASTERISKVERSION and that string does not appear in any tex file.
This patch simply removes these calls and the surrounding cp/mv calls to
restore the original asterisk.tex
Now it works great on both my linux and OpenBSD boxen.
======================================================================
----------------------------------------------------------------------
mvanbaak - 07-13-08 10:07
----------------------------------------------------------------------
After testing I found out the intemediate file way was not nice.
It would create a directory called after the intermediate file.
Now we do the same as the doc/tex/Makefile version did before:
Create a local backup of the original asterisk.tex file that will be
restored after the documentation is generated.
Issue History
Date Modified Username Field Change
======================================================================
07-13-08 10:07 mvanbaak Note Added: 0090158
======================================================================
More information about the asterisk-bugs
mailing list