home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / fontutils-0.6 / gsrenderfont / GNUmakefile < prev    next >
Encoding:
Makefile  |  1992-10-23  |  1.5 KB  |  57 lines

  1. # Makefile for Ghostscript font-rendering program.
  2. # Copyright (C) 1992 Free Software Foundation, Inc.
  3. #
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. program = bbcount
  19.  
  20. c_and_h = input-pbm
  21. c_only = main version
  22.  
  23. libraries = pbm
  24.  
  25. include ../data/defs.make
  26. include ../data/defsprog.make
  27.  
  28. all: gsrenderfont
  29.  
  30. gsrenderfont: gsrf.in
  31.     rm -f $@
  32.     sed -e "s,replace-with-lib-path,$(default_lib_path)," $< > $@
  33.     chmod a-w $@
  34.     chmod +x $@
  35.  
  36. install::
  37.     $(INSTALL_PROGRAM) gsrenderfont $(bindir)/gsrenderfont
  38.     $(INSTALL_DATA) fixifibb.awk $(fu_datadir)/fixifibb.awk
  39.     $(INSTALL_DATA) writefont.PS $(fu_datadir)/writefont.PS
  40.  
  41. dist::
  42.     ln gsrf.in fixifibb.awk writefont.PS $(distdir)
  43.  
  44. include M.depend
  45.  
  46. check: gsrenderfont bbcount
  47.     rm -f Style.tfm Style.300*
  48.     gsrenderfont -verbose -version Style.ps -font=Style
  49.     fontconvert -tfm ./Style.300
  50.  
  51. distclean::
  52.     rm -f gsrenderfont
  53.  
  54. extraclean::
  55.     rm -f *.xifi *.bfi *.pbm *.bbs *.pl *.ifi
  56.