Initial Commit
[packages] / xemacs-packages / liece / Makefile
1 # Makefile for Liece lisp code
2
3 # This file is part of XEmacs.
4
5 # XEmacs is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; either version 2, or (at your option) any
8 # later version.
9
10 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13 # for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with XEmacs; see the file COPYING.  If not, write to
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 # Boston, MA 02111-1307, USA.
19
20 # This XEmacs package contains independent single file lisp packages
21
22 VERSION = 1.18
23 AUTHOR_VERSION = 1.4.9
24 MAINTAINER = Daiki Ueno <ueno@unixuser.org>
25 PACKAGE = liece
26 PKG_TYPE = regular
27 REQUIRES = apel mail-lib fsf-compat xemacs-base
28 CATEGORY = standard
29
30 include ../../Local.rules.inc
31
32 ELCS = lisp/liece-xemacs.elc lisp/gettext.elc lisp/liece-clfns.elc \
33         lisp/liece-handler.elc lisp/liece-compat.elc lisp/liece-version.elc \
34         lisp/liece-vars.elc lisp/liece-globals.elc lisp/liece-inlines.elc \
35         lisp/liece-filter.elc lisp/liece-coding.elc lisp/liece-dcc.elc \
36         lisp/liece-menu.elc lisp/liece-000.elc lisp/liece-200.elc \
37         lisp/liece-300.elc lisp/liece-400.elc lisp/liece-500.elc \
38         lisp/liece-nick.elc lisp/liece-channel.elc lisp/liece-commands.elc \
39         lisp/liece-ctcp.elc lisp/liece-q-el.elc lisp/liece-message.elc \
40         lisp/liece-handle.elc lisp/liece-hilit.elc lisp/liece-intl.elc \
41         lisp/liece-mail.elc lisp/liece-minibuf.elc lisp/liece-misc.elc \
42         lisp/liece-tcp.elc lisp/liece-url.elc lisp/liece-x-face.elc \
43         lisp/liece-window.elc lisp/liece.elc
44
45 # MULE_ELCS = lisp/liece-q-ccl.elc
46
47 DATA_1_FILES = $(wildcard etc/icons/*.xpm)
48 DATA_1_DEST = $(PACKAGE)/icons
49
50 DATA_2_FILES = etc/styles/top etc/styles/middle etc/styles/bottom
51 DATA_2_DEST = $(PACKAGE)/styles
52
53 ifneq ($(MSGFMT),)
54 DATA_3_FILES = etc/po/liece.mo
55 DATA_3_DEST = $(PACKAGE)/locale/ja/LC_MESSAGES
56
57 EXTRA_DEPENDENCIES = etc/po/liece.mo
58 endif
59
60 AUTOLOAD_PATH = lisp
61
62 EXPLICIT_DOCS = doc/liece.texi
63
64 EARLY_GENERATED_LISP += $(AUTOLOAD_PATH)/liece-setup.el
65
66
67 PRELOADS = -eval \("push \"./lisp\" load-path"\) \
68         -l liece-globals -l liece-vars
69
70 include ../../XEmacs.rules
71
72 lisp/liece-setup.el: $(ELCS:.elc=.el)
73         cd lisp && $(BOOT_XEMACS) -l liece-make -f autoload-liece \
74                 liece-setup- .
75
76 etc/po/liece.mo: etc/po/ja.po
77         (cd etc/po; $(MSGFMT) -o liece.mo ja.po)