Makefile.in revision 1.1.1.4
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 15SHELL = /bin/sh 16 17srcdir = @srcdir@ 18top_srcdir = @top_srcdir@ 19VPATH = @srcdir@ 20 21MAN1FILES = cvs.1 22MAN5FILES = cvs.5 23MAN8FILES = cvsbug.8 24MANFILES = $(MAN1FILES) $(MAN5FILES) $(MAN8FILES) 25 26DISTFILES = .cvsignore ChangeLog Makefile.in $(MANFILES) 27INSTALL = @INSTALL@ 28INSTALL_DATA = $(INSTALL) 29prefix = @prefix@ 30mandir = $(prefix)/man 31man1dir = $(mandir)/man1 32man5dir = $(mandir)/man5 33man8dir = $(mandir)/man8 34 35all: 36.PHONY: all 37 38# This used to depend on installdirs, but someone took it out (I think 39# maybe it is/was some kind of Cygnus convention to not depend on installdirs; 40# I'm not sure). I don't know what the pro(s) and con(s) are. 41install: all 42 for f in $(MAN1FILES); do \ 43 $(INSTALL_DATA) $(srcdir)/$$f $(man1dir)/$$f; \ 44 done 45 for f in $(MAN5FILES); do \ 46 $(INSTALL_DATA) $(srcdir)/$$f $(man5dir)/$$f; \ 47 done 48 for f in $(MAN8FILES); do \ 49 $(INSTALL_DATA) $(srcdir)/$$f $(man8dir)/$$f; \ 50 done 51 52installdirs: 53 $(SHELL) $(top_srcdir)/mkinstalldirs $(man1dir) $(man5dir) $(man8dir) 54 55.PHONY: install installdirs 56 57tags: 58.PHONY: tags 59 60TAGS: 61.PHONY: TAGS 62 63ls: 64 @true 65.PHONY: ls 66 67clean: 68.PHONY: clean 69 70distclean: clean 71 rm -f Makefile 72.PHONY: distclean 73 74realclean: distclean 75.PHONY: realclean 76 77dist-dir: 78 mkdir ${DISTDIR} 79 for i in ${DISTFILES}; do \ 80 ln $(srcdir)/$${i} ${DISTDIR}; \ 81 done 82.PHONY: dist-dir 83 84subdir = man 85Makefile: ../config.status Makefile.in 86 cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status 87 88#../config.status: ../configure 89# cd .. ; $(SHELL) config.status --recheck 90 91#../configure: ../configure.in 92# cd $(top_srcdir) ; autoconf 93