home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume8 / gnuplot1.10A / part06 / docs / Makefile < prev    next >
Encoding:
Makefile  |  1989-09-09  |  618 b   |  26 lines

  1. # Makefile for GNUPLOT documentation
  2. #
  3. # troff a copy of gnuplot -ms if you've got a laser printer
  4. # otherwise, just print gnuplot.nroff on a line printer
  5. #
  6. HELPDIR = /usr/local/help/gnuplot
  7.  
  8. gnuplot.ms: hlp2ms gnuplot.hlp
  9.     ./hlp2ms < gnuplot.hlp > gnuplot.ms
  10.  
  11. helptree: helptree.c
  12.     cc -o helptree helptree.c
  13.  
  14. hlp2ms: hlp2ms.c
  15.     cc -o hlp2ms hlp2ms.c
  16.  
  17. clean:
  18.     rm -f gnuplot.ms gnuplot.hold hlp2ms helptree
  19.  
  20. # Dependencies are hard (for me) so just rebuild everthing out of help tree
  21. # (This assumes help tree is more recent than gnuplot.hlp)
  22.  
  23. hlp:
  24.     - mv gnuplot.hlp gnuplot.hold
  25.     ./helptree -f $(HELPDIR) > gnuplot.hlp
  26.