Build fixes needed for latest Riece pkg.
[packages] / xemacs-packages / riece / Makefile
1 # Makefile for Riece 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 the riece IRC client package
21
22 VERSION = 1.26
23 AUTHOR_VERSION = v9.0.0-21-gcf23226
24 MAINTAINER = Daiki Ueno <ueno@unixuser.org>
25 PACKAGE = riece
26 PKG_TYPE = regular
27 REQUIRES = xemacs-base mail-lib bbdb
28 CATEGORY = standard
29
30 include ../../Local.rules.inc
31
32 DONTCOMPILE = lisp/_pkg.el lisp/auto-autoloads.el lisp/custom-load.el \
33         lisp/custom-defines.el lisp/riece-emacs.el lisp/riece-ndcc.el \
34         lisp/url-riece.el
35
36 ifeq ($(BUILD_WITHOUT_MULE),t)
37 DONTCOMPILE += lisp/riece-skk-kakutei.elc lisp/riece-mcat.elc \
38         lisp/riece-mcat-japanese.elc
39 endif
40
41 ELCS = $(patsubst %.el,%.elc,$(filter-out $(DONTCOMPILE),$(wildcard lisp/*.el)))
42
43
44 EXTRA_SOURCES = lisp/riece-emacs.el lisp/riece-ndcc.el \
45         lisp/riece-skk-kakutei.el lisp/riece-mcat.el \
46         lisp/riece-mcat-japanese.el lisp/riece-package-info.el.in \
47         lisp/url-riece.el
48
49 AUTOLOAD_PATH = lisp
50
51 EXPLICIT_DOCS = doc/riece-en.texi
52 ifeq ($(BUILD_WITHOUT_MULE),)
53 COMPILE_INFO_AS_MULE = t
54 EXPLICIT_DOCS += doc/riece-ja.texi
55 endif
56
57 PRELOADS = -eval \("push \"./lisp\" load-path"\)
58
59 DATA_FILES = AUTHORS NEWS NEWS.ja README README.ja doc/HACKING doc/HACKING.ja
60 DATA_DEST = $(PACKAGE)
61
62 DATA_1_FILES = $(wildcard lisp/*.xpm)
63 DATA_1_DEST = $(PACKAGE)
64
65 DATA_2_FILES = $(wildcard lisp/*.rb)
66 DATA_2_DEST = $(PACKAGE)
67
68 include ../../XEmacs.rules