Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 1995 12:51:22 +0200
From:      mal@aristotle.algonet.se (Mats Lofkvist)
To:        freebsd-hackers@FreeBSD.org
Subject:   [2.1-stable] No def. of GZIPCMD in .../share/doc/usd/1[02].*/Makefile
Message-ID:  <9509231051.AA25907@sophocles.>

next in thread | raw e-mail | index | archive | help

I got the following output from a make in /usr/src (sup'ed today):

<snip>
===> share/doc/10.exref
(cd /usr/src/share/doc/usd/10.exref/../../../../usr.bin/vi/USD.doc/exref; groff 
-Tps -t -ms -o1- ex.summary) |  > summary.ps.gz
*** Signal 11
<snip>
                              ^^
                              not much here...

The line in /usr/src/share/doc/usd/10.exref/Makefile is
        (cd ${SRCDIR}; ${ROFF} ${.ALLSRC}) | ${GZIPCMD} > ${.TARGET}

Maybe the patch below changes it to the way it was ment to be done?


(About the segfault:
 I did run this via a make in /usr/src twice and got the segfault both times.
 When going to /usr/obj/share/doc/usd/10.exref and running the line above by
 cut/paste, I did _not_ get the segfault.) 

      _
Mats Lofkvist
mal@algonet.se


*** 10.exref/Makefile.org       Sun Sep 17 16:43:04 1995
--- 10.exref/Makefile   Sat Sep 23 12:40:20 1995
***************
*** 12,19 ****
--- 12,21 ----
  
  .if !defined(NODOCCOMPRESS)
  SFILE=        summary.${PRINTER}.gz
+ GZIPCMD= gzip -c
  .else
  SFILE=        summary.${PRINTER}
+ GZIPCMD= cat
  .endif
  
  all:  ${DFILE} ${SFILE}
*** 12.vi/Makefile.org  Sun Sep 17 16:43:05 1995
--- 12.vi/Makefile      Sat Sep 23 12:41:10 1995
***************
*** 13,21 ****
--- 13,23 ----
  .if !defined(NODOCCOMPRESS)
  SFILE=        summary.${PRINTER}.gz
  VFILE=        viapwh.${PRINTER}.gz
+ GZIPCMD= gzip -c
  .else
  SFILE=        summary.${PRINTER}
  VFILE=        viapwh.${PRINTER}
+ GZIPCMD= cat
  .endif
  
  all:  ${DFILE} ${SFILE} ${VFILE}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9509231051.AA25907>