doc build with .OBJDIR

Dag-Erling Smorgrav des at ofug.org
Thu May 22 22:44:40 UTC 2003


Dag-Erling Smorgrav <des at ofug.org> writes:
> It looks for images in ${.OBJDIR}/${.CURDIR}/../../../share/images,
> where they obviously aren't.

I should add that it is (almost) never necessary to spell out
${.OBJDIR} as it is always the current working directory, unless you
explicitly cd somewhere else.  The .if ${.OBJDIR} != ${.CURDIR} block
that starts on line 94 of bsd.images.mk can in all likelyhood be
removed.  Doing so, however, uncovers the following:

===> articles/checkpoint
groff -p -S -Wall -mtty-char -man /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint/../../../share/images/articles/checkpoint/networks.pic > /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint/../../../share/images/articles/checkpoint/networks.ps
/usr/local/bin/ps2epsi /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint/../../../share/images/articles/checkpoint/networks.ps /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint/../../../share/images/articles/checkpoint/networks.eps
Error: /rangecheck in --.getbitsrect--
Operand stack:
   -1   0   (\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...)   --nostringval--   0   0   612   792   0   --nostringval--   (\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   --nostringval--   --nostringval--   --nostringval--   1   1   841   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   6   6   %oparray_pop   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1052/1123(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--   --dict:25/30(L)--   --dict:59/120(L)--   --dict:25/30(L)--
Current allocation mode is local
Last OS error: 2
GNU Ghostscript 7.05: Unrecoverable error, exit code 1
/usr/local/bin/peps -p -r 100  -o /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint/../../../share/images/articles/checkpoint/networks.png  `/bin/realpath /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint/../../../share/images/articles/checkpoint/networks.eps`
peps: /home/des/freebsd/doc/share/images/articles/checkpoint/networks.eps is not a valid EPS file.
*** Error code 4

Stop in /home/des/freebsd/doc/en_US.ISO8859-1/articles/checkpoint.
*** Error code 1

Stop in /home/des/freebsd/doc/en_US.ISO8859-1/articles.
*** Error code 1

Stop in /home/des/freebsd/doc/en_US.ISO8859-1.

DES
-- 
Dag-Erling Smorgrav - des at ofug.org



More information about the freebsd-doc mailing list