xref: /openbsd/gnu/usr.bin/cvs/doc/Makefile.in (revision 3cab2bb3)
1# Makefile.in generated automatically by automake 1.4e from Makefile.am.
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4# Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14@SET_MAKE@
15
16# Makefile for GNU CVS documentation (excluding man pages - see ../man).
17# Copyright (C) 1986, 1988-1990, 2000 Free Software Foundation, Inc.
18
19# This program is free software; you can redistribute it and/or modify
20# it under the terms of the GNU General Public License as published by
21# the Free Software Foundation; either version 2, or (at your option)
22# any later version.
23
24# This program is distributed in the hope that it will be useful,
25# but WITHOUT ANY WARRANTY; without even the implied warranty of
26# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27# GNU General Public License for more details.
28
29#DISTFILES = \
30#	.cvsignore \
31#	RCSFILES \
32
33# AUTOMAKE_OPTIONS = no-texinfo.tex
34
35# FIXME - these rebuild every 'make dist' with some BSD makes due to a bug
36# that prevents make from searching VPATH for targets.  There is some
37# machinery in place in configure.in to work around this for some targets
38# (see the CVSvn.texi target below) now, but fixing the two info_TEXINFOS
39# targets below is probably going to require work on Automake
40
41
42SHELL = @SHELL@
43
44srcdir = @srcdir@
45top_srcdir = @top_srcdir@
46VPATH = @srcdir@
47prefix = @prefix@
48exec_prefix = @exec_prefix@
49
50bindir = @bindir@
51sbindir = @sbindir@
52libexecdir = @libexecdir@
53datadir = @datadir@
54sysconfdir = @sysconfdir@
55sharedstatedir = @sharedstatedir@
56localstatedir = @localstatedir@
57libdir = @libdir@
58infodir = @infodir@
59mandir = @mandir@
60includedir = @includedir@
61oldincludedir = /usr/include
62
63pkgdatadir = $(datadir)/@PACKAGE@
64pkglibdir = $(libdir)/@PACKAGE@
65pkgincludedir = $(includedir)/@PACKAGE@
66
67top_builddir = ..
68
69ACLOCAL = @ACLOCAL@
70AUTOCONF = @AUTOCONF@
71AUTOMAKE = @AUTOMAKE@
72AUTOHEADER = @AUTOHEADER@
73
74INSTALL = @INSTALL@
75INSTALL_PROGRAM = @INSTALL_PROGRAM@
76INSTALL_DATA = @INSTALL_DATA@
77INSTALL_SCRIPT = @INSTALL_SCRIPT@
78INSTALL_HEADER = $(INSTALL_DATA)
79transform = @program_transform_name@
80
81NORMAL_INSTALL = :
82PRE_INSTALL = :
83POST_INSTALL = :
84NORMAL_UNINSTALL = :
85PRE_UNINSTALL = :
86POST_UNINSTALL = :
87AMTAR = @AMTAR@
88AWK = @AWK@
89CC = @CC@
90CSH = @CSH@
91DEPDIR = @DEPDIR@
92ETAGS = @ETAGS@
93ETAGS_INCLUDE_OPTION = @ETAGS_INCLUDE_OPTION@
94INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
95INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
96KRB4 = @KRB4@
97LN_S = @LN_S@
98MAKEINFO = @MAKEINFO@
99PACKAGE = @PACKAGE@
100PERL = @PERL@
101PR = @PR@
102PS2PDF = @PS2PDF@
103RANLIB = @RANLIB@
104ROFF = @ROFF@
105STRIP = @STRIP@
106TEXI2DVI = @TEXI2DVI@
107VERSION = @VERSION@
108YACC = @YACC@
109_am_include = @_am_include@
110_am_quote = @_am_quote@
111includeopt = @includeopt@
112install_sh = @install_sh@
113
114info_TEXINFOS = cvs.texinfo cvsclient.texi
115cvs_TEXINFOS = CVSvn.texi
116cvsclient_TEXINFOS = CVSvn.texi
117
118POSTSCRIPTS = \
119	cvs.ps \
120	cvs-paper.ps \
121	cvsclient.ps
122
123
124PDFS = \
125	cvs-paper.pdf \
126	cvs.pdf \
127	cvsclient.pdf
128
129
130TXTS = \
131	cvs.txt \
132	cvsclient.txt
133
134
135EXTRA_DIST = \
136	$(POSTSCRIPTS) \
137	.cvsignore \
138	CVSvn.texi.in \
139	ChangeLog.fsf \
140	RCSFILES \
141	cvs-paper.ms \
142	cvs.aux \
143	cvsclient.aux
144
145
146# Listing cvs.cps & cvs.fns here is a workaround for an Automake deficiency
147MOSTLYCLEANFILES = \
148	cvs.cps \
149	cvs.fns
150
151
152CLEANFILES = \
153	$(PDFS) \
154	$(TXTS)
155
156
157MAINTAINERCLEANFILES = \
158	cvs-paper.ps
159
160
161SUFFIXES = .aux .txt .pdf
162EXEEXT =
163OBJEXT = o
164subdir = doc
165mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
166CONFIG_HEADER = $(top_builddir)/config.h $(top_builddir)/src/options.h
167CONFIG_CLEAN_FILES =
168CFLAGS = @CFLAGS@
169COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
170	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
171CCLD = $(CC)
172LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
173DIST_SOURCES =
174INFO_DEPS = cvs.info cvsclient.info
175DVIS = cvs.dvi cvsclient.dvi
176TEXINFOS = cvs.texinfo cvsclient.texi
177DIST_COMMON = $(cvs_TEXINFOS) $(cvsclient_TEXINFOS) ChangeLog \
178	Makefile.am Makefile.in texinfo.tex
179all: all-am
180
181.SUFFIXES:
182.SUFFIXES: .aux .txt .pdf .dvi .info .ps .texi .texinfo .txi
183
184$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
185	cd $(top_srcdir) && \
186	  $(AUTOMAKE) --gnu  doc/Makefile
187
188Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
189	cd $(top_builddir) && \
190	  CONFIG_HEADERS= CONFIG_LINKS= \
191	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
192
193cvs.info: cvs.texinfo $(cvs_TEXINFOS)
194cvs.dvi: cvs.texinfo $(cvs_TEXINFOS)
195
196cvsclient.info: cvsclient.texi $(cvsclient_TEXINFOS)
197cvsclient.dvi: cvsclient.texi $(cvsclient_TEXINFOS)
198
199.texi.info:
200	@rm -f $@ $@-[0-9] $@-[0-9][0-9]
201	$(MAKEINFO) -I $(srcdir) $(srcdir)/`echo $< | sed 's,.*/,,'` -o $@
202
203.texi.dvi:
204	TEXINPUTS=$(srcdir):$$TEXINPUTS \
205	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
206
207.texi:
208	@rm -f $@ $@-[0-9] $@-[0-9][0-9]
209	$(MAKEINFO) -I $(srcdir) $(srcdir)/`echo $< | sed 's,.*/,,'` -o $@
210
211.texinfo.info:
212	@rm -f $@ $@-[0-9] $@-[0-9][0-9]
213	$(MAKEINFO) -I $(srcdir) $(srcdir)/`echo $< | sed 's,.*/,,'` -o $@
214
215.texinfo.dvi:
216	TEXINPUTS=$(srcdir):$$TEXINPUTS \
217	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
218
219.texinfo:
220	@rm -f $@ $@-[0-9] $@-[0-9][0-9]
221	$(MAKEINFO) -I $(srcdir) $(srcdir)/`echo $< | sed 's,.*/,,'` -o $@
222
223DVIPS = dvips
224.dvi.ps:
225	$(DVIPS) $< -o $@
226
227uninstall-info-am:
228	$(PRE_UNINSTALL)
229	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
230	  list='$(INFO_DEPS)'; \
231	  for file in $$list; do \
232	    echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
233	    install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
234	  done; \
235	else :; fi
236	@$(NORMAL_UNINSTALL)
237	@list='$(INFO_DEPS)'; \
238	for file in $$list; do \
239	  (if cd $(DESTDIR)$(infodir); then \
240	     echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
241	     rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
242	   else :; fi); \
243	done
244
245dist-info: $(INFO_DEPS)
246	list='$(INFO_DEPS)'; \
247	for base in $$list; do \
248	  d=$(srcdir); \
249	  for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
250	    test -f $(distdir)/$$file \
251	    || cp -p $$d/$$file $(distdir)/$$file; \
252	  done; \
253	done
254
255mostlyclean-aminfo:
256	-rm -f cvs.aux cvs.cp cvs.cps cvs.dvi cvs.fn cvs.fns cvs.ky cvs.log cvs.pg \
257	  cvs.ps cvs.toc cvs.tp cvs.vr cvsclient.aux cvsclient.cp \
258	  cvsclient.dvi cvsclient.fn cvsclient.ky cvsclient.log \
259	  cvsclient.pg cvsclient.ps cvsclient.toc cvsclient.tp \
260	  cvsclient.vr
261
262maintainer-clean-aminfo:
263	cd $(srcdir) && \
264	for i in $(INFO_DEPS); do \
265	  rm -f $$i; \
266	  if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
267	    rm -f $$i-[0-9]*; \
268	  fi; \
269	done
270tags: TAGS
271TAGS:
272
273
274DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
275
276top_distdir = ..
277distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
278
279distdir: $(DISTFILES)
280	@for file in $(DISTFILES); do \
281	  d=$(srcdir); \
282	  if test -d $$d/$$file; then \
283	    cp -pR $$d/$$file $(distdir) \
284	    || exit 1; \
285	  else \
286	    test -f $(distdir)/$$file \
287	    || cp -p $$d/$$file $(distdir)/$$file \
288	    || exit 1; \
289	  fi; \
290	done
291	$(MAKE) $(AM_MAKEFLAGS) \
292	  top_distdir="${top_distdir}" distdir="$(distdir)" \
293	  dist-info
294check-am: all-am
295check: check-am
296all-am: Makefile $(INFO_DEPS)
297
298installdirs:
299	$(mkinstalldirs) $(DESTDIR)$(infodir)
300
301install: install-am
302install-exec: install-exec-am
303install-data: install-data-am
304uninstall: uninstall-am
305
306install-am: all-am
307	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
308
309installcheck: installcheck-am
310
311install-strip:
312	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
313	  INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
314
315mostlyclean-generic:
316	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
317
318clean-generic:
319	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
320
321distclean-generic:
322	-rm -f Makefile $(CONFIG_CLEAN_FILES)
323	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
324
325maintainer-clean-generic:
326	@echo "This command is intended for maintainers to use"
327	@echo "it deletes files that may require special tools to rebuild."
328	-rm -f Makefile.in
329	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
330clean: clean-am
331
332clean-am: clean-generic mostlyclean-am
333
334distclean: distclean-am
335
336distclean-am: clean-am distclean-generic
337
338dvi: dvi-am
339
340dvi-am: $(DVIS)
341
342info: info-am
343
344info-am: $(INFO_DEPS)
345
346install-data-am: install-info-am
347
348install-exec-am:
349
350install-info: install-info-am
351
352install-info-am: $(INFO_DEPS)
353	@$(NORMAL_INSTALL)
354	$(mkinstalldirs) $(DESTDIR)$(infodir)
355	@list='$(INFO_DEPS)'; \
356	for file in $$list; do \
357	  for ifile in `CDPATH=: && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
358	    if test -f $$ifile; then \
359	      echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$ifile"; \
360	      $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$ifile; \
361	    else : ; fi; \
362	  done; \
363	done
364	@$(POST_INSTALL)
365	@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
366	  list='$(INFO_DEPS)'; \
367	  for file in $$list; do \
368	    echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
369	    install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
370	  done; \
371	else : ; fi
372install-man:
373
374installcheck-am:
375
376maintainer-clean: maintainer-clean-am
377
378maintainer-clean-am: distclean-am maintainer-clean-aminfo \
379	maintainer-clean-generic
380
381mostlyclean: mostlyclean-am
382
383mostlyclean-am: mostlyclean-aminfo mostlyclean-generic
384
385uninstall-am: uninstall-info-am
386
387uninstall-info: uninstall-info-am
388
389.PHONY: all all-am check check-am clean clean-generic dist-info \
390	distclean distclean-generic distdir dvi dvi-am info info-am \
391	install install-am install-data install-data-am install-exec \
392	install-exec-am install-info install-info-am install-man \
393	install-strip installcheck installcheck-am installdirs \
394	maintainer-clean maintainer-clean-aminfo \
395	maintainer-clean-generic mostlyclean mostlyclean-aminfo \
396	mostlyclean-generic uninstall uninstall-am uninstall-info-am
397
398
399doc ps: $(POSTSCRIPTS)
400.PHONY: doc ps
401
402pdf: $(PDFS)
403.PHONY: pdf
404
405txt: $(TXTS)
406.PHONY: txt
407
408dvi: cvs.dvi cvsclient.dvi
409.PHONY: dvi
410
411cvs.aux cvs.pdf cvs.txt: cvs.texinfo $(cvs_TEXINFOS)
412cvsclient.aux cvsclient.pdf cvsclient.txt: cvsclient.texi $(cvsclient_TEXINFOS)
413
414# These targets need to be very specific so that the other PDFs get generated correctly.
415# If they are more generic and cvs.ps is made before cvs.pdf, then cvs.pdf will be
416# generated from the generic target and the PS source, which contains less information
417# than the usual texinfo source.
418cvs-paper.pdf: cvs-paper.ps
419	$(ROFF) -t -p -ms -Tps $< > $@-t
420	mv $@-t $@
421
422cvs-paper.ps: cvs-paper.ms
423	$(PS2PDF) $< $@
424
425# texinfo based targets automake neglects to include
426.texinfo.pdf:
427	TEXINPUTS=$(srcdir):$$TEXINPUTS \
428	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) --pdf $<
429.txi.pdf:
430	TEXINPUTS=$(srcdir):$$TEXINPUTS \
431	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) --pdf $<
432.texi.pdf:
433	TEXINPUTS=$(srcdir):$$TEXINPUTS \
434	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) --pdf $<
435
436.texinfo.aux:
437	TEXINPUTS=$(srcdir):$$TEXINPUTS \
438	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
439.txi.aux:
440	TEXINPUTS=$(srcdir):$$TEXINPUTS \
441	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
442.texi.aux:
443	TEXINPUTS=$(srcdir):$$TEXINPUTS \
444	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
445
446.texinfo.txt:
447	TEXINPUTS=$(srcdir):$$TEXINPUTS \
448	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(MAKEINFO) $< --no-headers -o $@
449.txi.txt:
450	TEXINPUTS=$(srcdir):$$TEXINPUTS \
451	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(MAKEINFO) $< --no-headers -o $@
452.texi.txt:
453	TEXINPUTS=$(srcdir):$$TEXINPUTS \
454	  MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(MAKEINFO) $< --no-headers -o $@
455
456# - CVSvn.texi needs to be updated only once, since it depends on
457#   configure.in, not on the results of a 'configure' run.
458# - It is guaranteed (with GNU Make) that when the version in configure.in
459#   is changed, acversion.m4 is built only after the new version number is
460#   propagated to the Makefile.  (Libtool uses the same guarantee.)
461# - Of the next three targets, only the next one or the following two should be
462#   enabled, not all three
463# - This is the target for systems without the BSD VPATH bug in make or with
464#   $(srcdir) = $(builddir)
465@MAKE_TARGETS_IN_VPATH_TRUE@CVSvn.texi: $(srcdir)/CVSvn.texi.in $(top_srcdir)/configure.in
466@MAKE_TARGETS_IN_VPATH_TRUE@	sed 's,@VERSION\@,$(VERSION),g' $(srcdir)/CVSvn.texi.in >$(srcdir)/CVSvn.ttexi
467@MAKE_TARGETS_IN_VPATH_TRUE@	mv $(srcdir)/CVSvn.ttexi $(srcdir)/CVSvn.texi
468# - The next two targets are a workaround for the fact that some BSD makes
469#   don't look through VPATH for targets, but only for sources.
470# - They should be disabled on systems without the bug and in environments
471#   where $(srcdir) = $(builddir)
472@MAKE_TARGETS_IN_VPATH_FALSE@#CVSvn.texi: $(srcdir)/CVSvn.texi
473@MAKE_TARGETS_IN_VPATH_FALSE@	# use cat so the time stamp gets set properly
474@MAKE_TARGETS_IN_VPATH_FALSE@	cat $(srcdir)/CVSvn.texi >$@
475@MAKE_TARGETS_IN_VPATH_FALSE@CVSvn.texi: $(srcdir)/CVSvn.texi.in $(top_srcdir)/configure.in
476@MAKE_TARGETS_IN_VPATH_FALSE@	sed 's,@VERSION\@,$(VERSION),g' $(srcdir)/CVSvn.texi.in >CVSvn.ttexi
477@MAKE_TARGETS_IN_VPATH_FALSE@	mv CVSvn.ttexi CVSvn.texi
478
479# for backwards compatibility with the old makefiles
480realclean: maintainer-clean
481.PHONY: realclean
482
483# Tell versions [3.59,3.63) of GNU make to not export all variables.
484# Otherwise a system limit (for SysV at least) may be exceeded.
485.NOEXPORT:
486