home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / cvs-1.8.7-src.tgz / tar.out / fsf / cvs / man / Makefile.in < prev   
Makefile  |  1996-09-28  |  2KB  |  97 lines

  1. # Makefile for GNU CVS documentation.
  2. # Do not use this makefile directly, but only from `../Makefile'.
  3. # Copyright (C) 1986-1992 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. SHELL = /bin/sh
  20.  
  21. srcdir     = @srcdir@
  22. top_srcdir = @top_srcdir@
  23. VPATH      = @srcdir@
  24.  
  25. MAN1FILES = cvs.1
  26. MAN5FILES = cvs.5
  27. MAN8FILES = cvsbug.8
  28. MANFILES = $(MAN1FILES) $(MAN5FILES) $(MAN8FILES)
  29.  
  30. DISTFILES = .cvsignore ChangeLog Makefile.in $(MANFILES)
  31. INSTALL = @INSTALL@
  32. INSTALL_DATA = $(INSTALL)
  33. prefix = @prefix@
  34. mandir = $(prefix)/man
  35. man1dir = $(mandir)/man1
  36. man5dir = $(mandir)/man5
  37. man8dir = $(mandir)/man8
  38.  
  39. all:
  40. .PHONY: all
  41.  
  42. # This used to depend on installdirs, but someone took it out (I think
  43. # maybe it is/was some kind of Cygnus convention to not depend on installdirs;
  44. # I'm not sure).  I don't know what the pro(s) and con(s) are.
  45. install: all
  46.     for f in $(MAN1FILES); do \
  47.         $(INSTALL_DATA) $(srcdir)/$$f $(man1dir)/$$f; \
  48.     done
  49.     for f in $(MAN5FILES); do \
  50.         $(INSTALL_DATA) $(srcdir)/$$f $(man5dir)/$$f; \
  51.     done
  52.     for f in $(MAN8FILES); do \
  53.         $(INSTALL_DATA) $(srcdir)/$$f $(man8dir)/$$f; \
  54.     done
  55.  
  56. installdirs:
  57.     $(SHELL) $(top_srcdir)/mkinstalldirs $(man1dir) $(man5dir) $(man8dir)
  58.  
  59. .PHONY: install installdirs
  60.  
  61. tags:
  62. .PHONY: tags
  63.  
  64. TAGS:
  65. .PHONY: TAGS
  66.  
  67. ls:
  68.     @true
  69. .PHONY: ls
  70.  
  71. clean:
  72. .PHONY: clean
  73.  
  74. distclean: clean
  75.     rm -f Makefile
  76. .PHONY: distclean
  77.  
  78. realclean: distclean
  79. .PHONY: realclean
  80.  
  81. dist-dir:
  82.     mkdir ${DISTDIR}
  83.     for i in ${DISTFILES}; do \
  84.       ln $(srcdir)/$${i} ${DISTDIR}; \
  85.     done
  86. .PHONY: dist-dir
  87.  
  88. subdir = man
  89. Makefile: ../config.status Makefile.in
  90.     cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
  91.  
  92. #../config.status: ../configure
  93. #    cd .. ; $(SHELL) config.status --recheck
  94.  
  95. #../configure: ../configure.in
  96. #    cd $(top_srcdir) ; autoconf
  97.