home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / textutils-1.9-src.lha / src / amiga / textutils-1.9 / man / Makefile.in < prev    next >
Makefile  |  1994-02-21  |  2KB  |  68 lines

  1. # Makefile for GNU text utilities documentation.
  2. # Copyright (C) 1991, 1992, 1993 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. SHELL = /bin/sh
  19.  
  20. srcdir = @srcdir@
  21. VPATH = @srcdir@
  22.  
  23. prefix = /gnu
  24. exec_prefix = $(prefix)
  25. mandir = $(prefix)/man/man1
  26. manprefix =
  27. manext = 1
  28. INSTALL = @INSTALL@
  29. INSTALL_DATA = @INSTALL_DATA@
  30.  
  31. MANFILES = cat.1 cksum.1 comm.1 csplit.1 cut.1 expand.1 fold.1 head.1 \
  32. join.1 nl.1 od.1 paste.1 pr.1 sort.1 split.1 sum.1 tac.1 tail.1 tr.1 \
  33. unexpand.1 uniq.1 wc.1
  34.  
  35. DISTFILES = Makefile.in $(MANFILES)
  36.  
  37. all:
  38.  
  39. install: all
  40.     for f in $(MANFILES); do \
  41.       $(INSTALL_DATA) $(srcdir)/$$f \
  42.         $(mandir)/$(manprefix)`basename $$f 1`$(manext); \
  43.     done
  44.  
  45. uninstall:
  46.     for f in $(MANFILES) su.1; do \
  47.       rm -f $(mandir)/$(manprefix)`basename $$f 1`$(manext); \
  48.     done
  49.  
  50. TAGS:
  51.  
  52. clean:
  53.  
  54. mostlyclean: clean
  55.  
  56. distclean: clean
  57.     rm -f Makefile
  58.  
  59. realclean: distclean
  60.     rm -f TAGS
  61.  
  62. dist:
  63.     ln $(DISTFILES) ../`cat ../.fname`/man
  64.  
  65. # Tell versions [3.59,3.63) of GNU make not to export all variables.
  66. # Otherwise a system limit (for SysV at least) may be exceeded.
  67. .NOEXPORT:
  68.