# xslide makefile # $Id: Makefile,v 1.3 2003/08/04 21:25:10 tonygraham Exp $ # $Name: $ # what emacs is called on your system EMACS = emacs # no csh please SHELL = /bin/sh # have to preload the files that define variables used by other files PRELOADS = -l font-lock -l sendmail \ -l xslide-data.el -l xslide-abbrev.el -l xslide-font.el \ -l xslide-process.el -l xslide.el # compile with noninteractive and relatively clean environment BATCHFLAGS = -batch -q -no-site-file FILES = \ ChangeLog \ dot_emacs \ Makefile \ NEWS \ README.TXT \ TODO \ xslide-abbrev.el \ xslide-data.el \ xslide-font.el \ xslide-initial.xsl \ xslide-process.el \ xslide.el \ OBJECTS = \ xslide-data.elc xslide-abbrev.elc xslide-process.elc \ xslide-font.elc xslide.elc xslide: $(OBJECTS) %.elc: %.el @echo compiling $<... @$(EMACS) $(BATCHFLAGS) $(PRELOADS) -f batch-byte-compile $< xslide.zip: $(FILES) @-rm -f $@ @zip -q $@ $(FILES)