# Generated automatically from Makefile.in by configure.
#                                  -*-Makefile-*-
# Makefile for contrib
#
# $Id: Makefile.in,v 1.2 2002/05/11 02:32:13 elca Exp $

EMACS = mule
INSTALLPATH = /home/vbuilder/elisp/color-mate/contrib/
SHELL = /bin/sh
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644

EL = summary-color.el vregister.el cm_select.el xemacs-fontset-menu.el
TARGETS = $(EL:.el=.elc)
SCRIPT = cm_select.sh
BATCH = cm_select.bat
SCRIPT_SRC = cm_select.sh.in
OTHER = Makefile.in README
PARAM = contrib-compile.el

ALLFILES = $(EL) $(SCRIPT_SRC) $(BATCH) $(OTHER) $(PARAM)

.SUFFIXES: .el .elc

all: $(TARGETS)

$(TARGETS): $(EL)
	$(EMACS) -batch -l ./$(PARAM) -f batch-byte-compile $(EL)

$(INSTALLPATH):
	$(INSTALL) -d $(INSTALLPATH)

install: $(TARGETS) $(EL) $(SCRIPT) $(BATCH) $(INSTALLPATH)
	$(INSTALL_DATA) $(EL) $(TARGETS) $(BATCH) $(INSTALLPATH)
	$(INSTALL) $(SCRIPT) $(INSTALLPATH)

tar:
	if [ ! -d ../../color-mate-$(VERSION)/contrib/ ] ; then \
		 mkdir ../../color-mate-$(VERSION)/contrib/ ; \
	fi
	for i in $(ALLFILES) ; do ( \
		rm -f ../../color-mate-$(VERSION)/contrib/$$i ; \
		cp -p $$i ../../color-mate-$(VERSION)/contrib/ ; \
		chmod u+w ../../color-mate-$(VERSION)/contrib/$$i ; \
	) || exit 1; done

clean:
	rm -f $(TARGETS)

dummy:

# end
