skk / Makefile

# Makefile for SKK lisp code

# This file is part of XEmacs.

# XEmacs is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.

# XEmacs is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.

# You should have received a copy of the GNU General Public License
# along with XEmacs; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

VERSION = 1.02
PKG_TYPE = regular
REQUIRES = viper mule-base xemacs-base

ELCS = skk-foreword.elc queue-m.elc skk-attr.elc skk-auto.elc skk-comp.elc \
	skk-gadget.elc skk-isearch.elc skk-kakasi.elc skk-kcode.elc \
	skk-leim.elc skk-menu.elc skk-num.elc skk-server.elc skk-tree.elc \
	skk-tut.elc skk-vars.elc skk-vip.elc skk-viper.elc skk.elc \
	stack-m.elc string.elc

include ../../XEmacs.rules

all:: $(ELCS) auto-autoloads.elc texi

	$(MAKE) EMACS=xemacs -C texi info

	rm -f skk-vars.el
	$(XEMACS) -no-autoloads -batch -l ./make-vars.el -f make-skk-vars

srckit: srckit-std

binkit: all
	-rm -rf $(STAGING)/lisp/$(PACKAGE)
	-rm -rf $(STAGING)/etc/$(PACKAGE)
	-rm -rf $(STAGING)/info/$(PACKAGE).info*
	mkdir -p $(STAGING)/lisp/$(PACKAGE)
	mkdir -p $(STAGING)/etc/$(PACKAGE)
	mkdir -p $(STAGING)/info
	cp -a ChangeLog *.el* $(STAGING)/lisp/$(PACKAGE)
	cp -a etc/* $(STAGING)/etc/$(PACKAGE)
	cp -a texi/$(PACKAGE).info* $(STAGING)/info
	(cd $(STAGING); \
	rm -f $(PACKAGE)-$(VERSION)-pkg.tar*; \
	tar cf $(PACKAGE)-$(VERSION)-pkg.tar lisp/$(PACKAGE) \
		etc/$(PACKAGE) info/$(PACKAGE).info*; \
	gzip -v9 $(PACKAGE)-$(VERSION)-pkg.tar)