home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / rcs57pc3.zip / rcs / man / Makefile.in < prev    next >
Encoding:
Makefile  |  1995-06-16  |  2.0 KB  |  81 lines

  1. # Make RCS man pages.
  2.  
  3. #    $Id: Makefile.in,v 5.6 1995/06/16 06:19:24 eggert Exp $
  4.  
  5. # Copyright 1995 Paul Eggert
  6. #   Distributed under license by the Free Software Foundation, Inc.
  7. #
  8. # This file is part of RCS.
  9. #
  10. # RCS is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; either version 2, or (at your option)
  13. # any later version.
  14. #
  15. # RCS is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18. # GNU General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU General Public License
  21. # along with RCS; see the file COPYING.
  22. # If not, write to the Free Software Foundation,
  23. # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  24. #
  25. # Report problems and direct all questions to:
  26. #
  27. #    rcs-bugs@cs.purdue.edu
  28.  
  29. srcdir = @srcdir@
  30. VPATH = @srcdir@
  31.  
  32. INSTALL = @INSTALL@
  33. INSTALL_DATA = @INSTALL_DATA@
  34. PIC = @PIC@
  35.  
  36. prefix = @prefix@
  37. man1dir = $(prefix)/man/man1
  38. man5dir = $(prefix)/man/man5
  39. man1ext = .1
  40. man5ext = .5
  41.  
  42. SHELL = /bin/sh
  43.  
  44. all default :: rcsfile.5
  45.  
  46. rcsfile.5 : rcsfile.5in
  47.     $(PIC) $(PICFLAGS) $(srcdir)/$@in >$@
  48.  
  49. check dvi info TAGS ::
  50.  
  51. installdirs :: ../mkinstalldirs
  52.     -$(srcdir)/../mkinstalldirs $(man1dir) $(man5dir)
  53.  
  54. man1pages = ci co ident merge rcs rcsclean rcsdiff rcsintro rcsmerge rlog
  55.  
  56. install :: installdirs
  57.     -for m in $(man1pages); do \
  58.         $(INSTALL_DATA) $(srcdir)/$$m.1 $(man1dir)/$$m$(man1ext); \
  59.     done
  60.     -{ test -f rcsfile.5 || cd $(srcdir); } && \
  61.     $(INSTALL_DATA) rcsfile.5 $(man5dir)/rcsfile$(man5ext)
  62.  
  63. uninstall ::
  64.     for m in $(man1pages); do \
  65.         rm -f $(man1dir)/$$m$(man1ext); \
  66.     done
  67.     rm -f $(man5dir)/rcsfile$(man5ext)
  68.  
  69. clean mostlyclean ::
  70.     rm -f core core.* *.core
  71.  
  72. distclean :: clean
  73.     rm -f Makefile
  74.  
  75. maintainer-clean :: distclean
  76.     @echo "This command is intended for maintainers to use;"
  77.     @echo "it deletes files that may require special tools to rebuild."
  78.     rm -f rcsfile.5
  79.  
  80. installcheck installdebug ::
  81.