Initial Commit
[packages] / xemacs-packages / xslide / Makefile.upstream
1 # xslide makefile
2 # $Id: Makefile,v 1.3 2003/08/04 21:25:10 tonygraham Exp $
3 # $Name:  $
4
5 # what emacs is called on your system
6 EMACS = emacs
7
8 # no csh please
9 SHELL = /bin/sh
10
11 # have to preload the files that define variables used by other files
12 PRELOADS =  -l font-lock -l sendmail \
13         -l xslide-data.el -l xslide-abbrev.el -l xslide-font.el \
14         -l xslide-process.el -l xslide.el
15
16 # compile with noninteractive and relatively clean environment
17 BATCHFLAGS = -batch -q -no-site-file
18
19 FILES = \
20         ChangeLog \
21         dot_emacs \
22         Makefile \
23         NEWS \
24         README.TXT \
25         TODO \
26         xslide-abbrev.el \
27         xslide-data.el \
28         xslide-font.el \
29         xslide-initial.xsl \
30         xslide-process.el \
31         xslide.el \
32
33 OBJECTS = \
34         xslide-data.elc xslide-abbrev.elc xslide-process.elc \
35         xslide-font.elc xslide.elc
36
37 xslide: $(OBJECTS)
38
39 %.elc:  %.el
40         @echo compiling $<...
41         @$(EMACS) $(BATCHFLAGS) $(PRELOADS) -f batch-byte-compile $<
42
43
44 xslide.zip:     $(FILES)
45                 @-rm -f $@
46                 @zip -q $@ $(FILES)