home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 1 / FFMCD01.bin / useful / dist / gnu / shellutils / build / man / makefile
Encoding:
Makefile  |  1993-09-26  |  2.0 KB  |  70 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for GNU shell utilities documentation.
  3. # Do not use this makefile directly, but only from `../Makefile'.
  4. # Copyright (C) 1991 Free Software Foundation, Inc.
  5.  
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10.  
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. SHELL = /bin/sh
  21.  
  22. srcdir = .
  23. VPATH = .
  24.  
  25. # Files to install on all systems
  26. MANFILES1 = basename.1 date.1 dirname.1 echo.1 env.1 expr.1 false.1 groups.1 \
  27. id.1 logname.1 pathchk.1 printenv.1 printf.1 sleep.1 tee.1 test.1 \
  28. true.1 tty.1 who.1 whoami.1 yes.1
  29. # Files to maybe install.
  30. MANFILES2 = nice.1 nohup.1 su.1 stty.1 uname.1
  31.  
  32. # Files to install.
  33. MANFILES = $(MANFILES1)  uname.1 nice.1 nohup.1 stty.1
  34.  
  35. DISTFILES = Makefile.in $(MANFILES1) $(MANFILES2)
  36.  
  37. all:
  38.  
  39. install: all
  40.     -cd $(srcdir); for f in $(MANFILES); do \
  41.     $(INSTALL_DATA) $$f $(mandir)/$(manprefix)`basename $$f 1`$(manext); \
  42.     done
  43.     @if test `../src/id -u` = 0; then \
  44.     echo you are root, so installing su.1; \
  45.     $(INSTALL_DATA) $(srcdir)/su.1 $(mandir)/$(manprefix)su.$(manext); \
  46.     else echo you are not root, so not installing su.1; fi
  47.  
  48. uninstall:
  49.     for f in $(MANFILES) su.1; do \
  50.     rm -f $(mandir)/$(manprefix)`basename $$f 1`$(manext); \
  51.     done
  52.  
  53. TAGS:
  54.  
  55. clean:
  56.  
  57. mostlyclean: clean
  58.  
  59. distclean: clean
  60.     rm -f Makefile
  61.  
  62. realclean: distclean
  63.     rm -f TAGS
  64.  
  65. dist:
  66.     ln $(DISTFILES) ../`cat ../.fname`/man
  67.  
  68. # Prevent GNU make v3 from overflowing arg limit on SysV.
  69. .NOEXPORT:
  70.