summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/contrib/pcl-cvs/Makefile.in
blob: a96f626e59391487ebeef451e49b62caab1ac2c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# @(#) Id: dist-makefile,v 1.19 1993/05/31 22:43:45 ceder Exp 
# Makefile for pcl-cvs release 1.05.
# Copyright (C) 1992, 1993  Per Cederqvist
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

# This is the directory in which the ELFILES and ELCFILES will be
# installed.

lispdir = /usr/local/lib/emacs/site-lisp/pcl-cvs

# Where to install the info file.

prefix=/usr/local
infodir = $(prefix)/info

# Used to byte-compile files.

EMACS=emacs

#
# The rest of this file should not need to be modified.
#

srcdir = @srcdir@
VPATH = @srcdir@

# Just in case...
SHELL = /bin/sh

ELFILES = pcl-cvs.el pcl-cvs-lucid.el pcl-cvs-startup.el
ELCFILES = pcl-cvs.elc pcl-cvs-lucid.elc
INFOFILES = pcl-cvs.info*
TEXTMPS = pcl-cvs.aux pcl-cvs.log pcl-cvs.toc pcl-cvs.dvi pcl-cvs.cp \
	pcl-cvs.fn pcl-cvs.vr pcl-cvs.tp pcl-cvs.ky pcl-cvs.pg \
	pcl-cvs.cps pcl-cvs.fns pcl-cvs.kys pcl-cvs.pgs pcl-cvs.tps \
	pcl-cvs.vrs

INSTALL = install
INSTALL_DATA = $(INSTALL)

pcl-cvs.elc pcl-cvs-lucid.elc elcfiles:
	$(EMACS) -batch -l ${srcdir}/compile-all.el -f compile-pcl-cvs

all: elcfiles info

# Don't install the info file yet, since it requires makeinfo 
# version 2.something (and version 1.something is distributed with emacs).
#
# install: install_elc install_info
install: install_elc
	for i in $(ELFILES); do $(INSTALL_DATA) $$i $(lispdir)/$$i; done

install_elc: elcfiles
	for i in $(ELCFILES); do $(INSTALL_DATA) $$i $(lispdir)/$$i; done

install_info: pcl-cvs.info
	$(INSTALL_DATA) pcl-cvs.info* $(infodir)/pcl-cvs.info

info pcl-cvs.info: pcl-cvs.texinfo
	makeinfo --fill-column=70 ${srcdir}/pcl-cvs.texinfo

pcl-cvs.aux pcl-cvs.dvi: pcl-cvs.texinfo
	tex ${srcdir}/pcl-cvs.texinfo
	tex ${srcdir}/pcl-cvs.texinfo
	-texindex pcl-cvs.cp pcl-cvs.fn pcl-cvs.vr pcl-cvs.tp pcl-cvs.ky \
		pcl-cvs.pg
	tex ${srcdir}/pcl-cvs.texinfo

DVIPS=dvips
pcl-cvs.ps: pcl-cvs.dvi
	${DVIPS} pcl-cvs.dvi -o pcl-cvs.ps

mostlyclean clean realclean:
	rm -f *~ core $(ELCFILES) $(INFOFILES) $(TEXTMPS)

tags TAGS:
	etags *.el

DISTFILES = \
	.cvsignore ChangeLog INSTALL Makefile.in NEWS README \
	${ELFILES} ${ELCFILES} compile-all.el \
	pcl-cvs.texinfo texinfo.tex
OBJDIR_DISTFILES = pcl-cvs.aux pcl-cvs.ps

dist-dir: ${OBJDIR_DISTFILES} ${DISTFILES} pcl-cvs.info
	mkdir ${DISTDIR}
	for i in ${DISTFILES}; do \
	  ln $(srcdir)/$${i} ${DISTDIR}; \
	done
	ln ${OBJDIR_DISTFILES} ${DISTDIR}
	ln pcl-cvs.info* ${DISTDIR}
.PHONY: dist-dir

subdir = contrib/pcl-cvs
Makefile: ../../config.status Makefile.in
	cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status