#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 12 years ago by cooljeanius (Eric Gallager)
comment:2 follow-up: 3 Changed 12 years ago by mf2k (Frank Schima)
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 Changed 12 years ago by cooljeanius (Eric Gallager)
Note: See
TracTickets for help on using
tickets.

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