view emacs/Makefile.in @ 4720:e759d01692db ss-2-1-53

[project @ 2004-01-23 04:13:37 by jwe]
author jwe
date Fri, 23 Jan 2004 04:13:37 +0000
parents 2de7c7452a1e
children cd5cc2a80589
line wrap: on
line source

#
# Makefile for octave's emacs directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

TOPDIR = ..

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

include $(TOPDIR)/Makeconf

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@

EL_FILES = octave-hlp.el octave-inf.el octave-mod.el

SOURCES = $(EL_FILES) otags

DISTFILES = Makefile.in $(EL_FILES) otags otags.1 NEWS TODO README

BINDISTFILES = $(addprefix $(srcdir)/, $(EL_FILES) otags NEWS TODO README)

all:
.PHONY: all

install install-strip:
	$(INSTALL_SCRIPT) otags $(DESTDIR)$(bindir)/otags
.PHONY: install install-strip

uninstall:
	rm -f $(DESTDIR)$(bindir)/otags
.PHONY: uninstall

tags:
	ctags $(SOURCES)

TAGS: $(SOURCES)
	etags $(SOURCES)

clean mostlyclean:
.PHONY: clean mostlyclean

distclean:
	rm -f Makefile
.PHONY: distclean

maintainer-clean: distclean
	rm -f tags TAGS
.PHONY: maintainer-clean

dist:
	ln $(DISTFILES) ../`cat ../.fname`/emacs
.PHONY: dist

bin-dist:
	if [ -n "$(BINDISTFILES)" ]; then \
	  ln $(BINDISTFILES) ../`cat ../.fname`/emacs; \
	fi
.PHONY: bin-dist