Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#39779 closed defect (fixed)

base: "tcldoc" make target requires TCLDOC variable to be set in the environment

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.3
Keywords: Cc:
Port:

Description

without setting it:

Local-Admins-MacBook-Pro:MacPorts-fork ericgallager$ echo $TCLDOC

Local-Admins-MacBook-Pro:MacPorts-fork ericgallager$ make tcldoc
find src -name '*.tcl' | xargs  --verbose --title "MacPorts Documentation" --force tcldoc
xargs: unrecognized option `--title'
Usage: xargs [-0prtx] [--interactive] [--null] [-d|--delimiter=delim]
       [-E eof-str] [-e[eof-str]]  [--eof[=eof-str]]
       [-L max-lines] [-l[max-lines]] [--max-lines[=max-lines]]
       [-I replace-str] [-i[replace-str]] [--replace[=replace-str]]
       [-n max-args] [--max-args=max-args]
       [-s max-chars] [--max-chars=max-chars]
       [-P max-procs]  [--max-procs=max-procs] [--show-limits]
       [--verbose] [--exit] [--no-run-if-empty] [--arg-file=file]
       [--version] [--help] [command [initial-arguments]]

Report bugs to <bug-findutils@gnu.org>.
make: *** [tcldoc] Error 1

with setting it:

Local-Admins-MacBook-Pro:MacPorts-fork ericgallager$ export TCLDOC=/opt/local/bin/tcldoc
Local-Admins-MacBook-Pro:MacPorts-fork ericgallager$ make tcldoc
find src -name '*.tcl' | xargs /opt/local/bin/tcldoc --verbose --title "MacPorts Documentation" --force tcldoc
Writing to directory tcldoc.
...

I was able to figure this out eventually, but it wasn't entirely clear to me... This should either be automatically set in the makefile when configuring, or at least documented with a comment in the makefile or something...

Change History (3)

comment:1 Changed 10 years ago by cooljeanius (Eric Gallager)

cal removed the tcldoc target entirely in r117902, so I guess that this can be considered to be "fixed" now...

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

comment:3 in reply to:  2 Changed 10 years ago by cooljeanius (Eric Gallager)

Replying to mf2k@…:

Thanks for closing for me. While you are at it, #39778 can be closed similarly, as it is also about tcldoc in base.

Note: See TracTickets for help on using tickets.