pcl-cvs / dist-makefile

# @(#) dist-makefile,v 1.20 1994/01/02 20:42:54 ceder Exp
# Makefile for pcl-cvs release XXRELEASEXX.
# 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/elisp

# 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.
#

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

ELFILES = pcl-cvs.el pcl-cvs-lucid.el
ELCFILES = pcl-cvs.elc pcl-cvs-lucid.elc
INFOFILES = pcl-cvs
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)

elcfiles:
	$(EMACS) -batch -l ./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
	$(INSTALL_DATA) pcl-cvs $(infodir)/pcl-cvs

info pcl-cvs: pcl-cvs.texinfo
	makeinfo pcl-cvs.texinfo

pcl-cvs.dvi: pcl-cvs.texinfo
	tex pcl-cvs.texinfo
	tex pcl-cvs.texinfo
	-texindex pcl-cvs.cp pcl-cvs.fn pcl-cvs.vr pcl-cvs.tp pcl-cvs.ky \
		pcl-cvs.pg
	tex pcl-cvs.texinfo

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

tags TAGS:
	etags *.el
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.