home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / a / bin / fileutil.12 / fileutil / fileutils-3.12 / man / Makefile.in < prev    next >
Encoding:
Makefile  |  1994-11-04  |  2.1 KB  |  84 lines

  1. # Makefile for GNU file utilities documentation.
  2. # Copyright (C) 1991, 1992, 1993, 1994 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 = @prefix@
  24. mandir = $(prefix)/man/man1
  25. manext = 1
  26. INSTALL = @INSTALL@
  27. INSTALL_DATA = @INSTALL_DATA@
  28. RM = @RM@
  29.  
  30. MANFILES = chgrp.1 chown.1 chmod.1 cp.1 dd.1 df.1 du.1 install.1 \
  31. ln.1 ls.1 mkdir.1 mkfifo.1 mknod.1 mv.1 rm.1 rmdir.1 touch.1
  32.  
  33. DISTFILES = Makefile.in $(MANFILES)
  34.  
  35. all:
  36.  
  37. .SUFFIXES:
  38.  
  39. subdir = man
  40. Makefile: ../config.status Makefile.in
  41.     cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
  42.  
  43. installdirs:
  44.     $(srcdir)/../mkinstalldirs $(mandir)
  45.  
  46. transform = @program_transform_name@
  47. install: $(MANFILES) installdirs
  48.     for f in $(MANFILES); do \
  49.       name=`basename $$f 1`; \
  50.       $(INSTALL_DATA) $(srcdir)/$$f \
  51.           $(mandir)/`echo $$name|sed '$(transform)'`$(manext); \
  52.     done
  53.  
  54. uninstall:
  55.     for f in $(MANFILES); do \
  56.       name=`basename $$f 1`; \
  57.       $(RM) -f $(mandir)/`echo $$name|sed '$(transform)'`$(manext); \
  58.     done
  59.  
  60. TAGS:
  61.  
  62. check:
  63.  
  64. clean:
  65.  
  66. mostlyclean: clean
  67.  
  68. distclean: clean
  69.     $(RM) -f Makefile
  70.  
  71. realclean: distclean
  72.     $(RM) -f TAGS
  73.  
  74. distdir = ../`cat ../distname`/$(subdir)
  75. dist:
  76.     for file in $(DISTFILES); do \
  77.       ln $$file $(distdir) \
  78.         || { echo copying $$file instead; cp -p $$file $(distdir);}; \
  79.     done
  80.  
  81. # Tell versions [3.59,3.63) of GNU make not to export all variables.
  82. # Otherwise a system limit (for SysV at least) may be exceeded.
  83. .NOEXPORT:
  84.