view lisp/url/Makefile @ 9:6f2bbbbbe05a

Added tag r19-15b5 for changeset 4b173ad71786
author cvs
date Mon, 13 Aug 2007 08:47:36 +0200
parents ac2d302a0011
children
line wrap: on
line source

# Temp file to use to build .elc files
ELISP-TO-COMPILE = /tmp/elc-url-${USER}

# what emacs is called on your system
EMACS = emacs

# where the Info file should go
INFODIR = .

# where the lisp files will be installed.
LISPDIR = $$HOME/lisp

# Change this to be where your .emacs file is stored
DOTEMACS      = $$HOME/.emacs

# Change this to be how to convert texinfo files into info files
# examples:
# MAKEINFO       = $(EMACS) -batch -q -f batch-texinfo-format
# MAKEINFO       = makeinfo
MAKEINFO         = makeinfo

# Where your version of 'install' lives
INSTALL = install

# Various other stuff used
RM    = rm -f
CP    = cp
############## no user servicable parts beyond this point ###################
MAJOR=1
MINOR=0

# Have to preload a few things to get a nice clean compile
DEPS = -l ./url-vars.el -l ./docomp.el

# compile with noninteractive and relatively clean environment
BATCHFLAGS = -batch -q -no-site-file

# What type of version this is - beta or normal
VTYPE = p
DIRNAME = url

.SUFFIXES: .elc .el .el,v

.el.elc:
	$(EMACS) $(BATCHFLAGS) $(DEPS) -f batch-byte-compile $<

OBJECTS = \
	url-file.elc	\
	url-nfs.elc	\
	url-cookie.elc	\
	url-irc.elc	\
	url-parse.elc	\
	url-gopher.elc	\
	url-hash.elc	\
	url-http.elc	\
	url-mail.elc	\
	url-misc.elc	\
	url-news.elc	\
	url-pgp.elc	\
	url-vars.elc	\
	url-wais.elc	\
	urlauth.elc	\
	mm.elc		\
	md5.elc		\
	ssl.elc		\
	base64.elc	\
	url.elc

SOURCES = \
	docomp.el	\
	url-nfs.el	\
	url-sysdp.el	\
	url-file.el	\
	url-cookie.el	\
	url-parse.el	\
	url-irc.el	\
	url-gopher.el	\
	url-hash.el	\
	url-http.el	\
	url-mail.el	\
	url-misc.el	\
	url-news.el	\
	url-pgp.el	\
	url-vars.el	\
	url-wais.el	\
	urlauth.el	\
	mm.el		\
	md5.el		\
	ssl.el		\
	base64.el	\
	url.el

DISTFILES     = $(SOURCES) descrip.mms

url:	docomp.el $(OBJECTS)
	@echo Build of url complete...

clean:
	rm -f $(OBJECTS)

url.html: url.texi
	@texi2html -menu -split_node -verbose url.texi

url.info: url.texi
	@$(MAKEINFO) url.texi

url.dvi: url.texi
	@tex url.texi
	@texindex url.cp  url.fn  url.ky  url.pg  url.tp  url.vr
	@tex url.texi
	@rm -f 	url.cp  url.fn  url.ky  url.pg  url.tp  url.vr 	\
		url.cps url.fns url.kys url.pgs url.tps url.vrs	\
		url.log url.toc url.aux

install: url
	@echo Installing in $(LISPDIR)
	$(INSTALL) -d $(LISPDIR)
	$(INSTALL) -m 644 $(SOURCES) $(OBJECTS) $(LISPDIR)
#	$(INSTALL) -d $(INFODIR)
#	$(INSTALL) -m 644 url.info* $(INFODIR)