From 7349ad7ea2ef8b27f3ba41af88e5b71f2ce7d2bb Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 3 Mar 2005 04:28:33 +0000 Subject: [PATCH 1/1] New file. --- Makefile | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1fc98c9 --- /dev/null +++ b/Makefile @@ -0,0 +1,77 @@ +VERSION = 0.3.0 + +TAR = tar + +PREFIX = /usr/local +LIBCHISE_OPTS = +XEMACS_OPTS = --site-includes=/sw/include:/sw/include/db4 \ + --site-libraries=/sw/lib + + +all: config-libchise build-libchise + +config-libchise: libchise + cd libchise && ./configure $(LIBCHISE_OPTS) + +build-libchise: + cd libchise && make + +install: install-libchise install-db + +install-libchise: + cd libchise && make install + +install-db: + (cd chise-db; tar cvf - lib share/chise) \ + | (cd $(PREFIX); tar xvf -) + + +config-xemacs: xemacs-chise + cd xemacs-chise && ./configure --with-chise --without-xim --pdump \ + $(XEMACS_OPTS) --with-database=berkdb + +build-xemacs: config-xemacs + cd xemacs-chise && make + +install-xemacs: + cd xemacs-chise && make install + +install-ids: ids + cd ids && make install + + +generate-db: install-xemacs install-ids + +chise-db: + -mkdir chise-db + (cd $(PREFIX); tar cvf - share/chise \ + lib/xemacs-21.4.15/etc/chise-db ) \ + | (cd chise-db; tar xvf - ) + +tar: + cd /tmp; mkdir chise-base-$(VERSION) + #rsync -av Makefile libchise chise-db \ + # xemacs-chise ids + # /tmp/chise-base-$(VERSION) + rsync -av Makefile libchise chise-db /tmp/chise-base-$(VERSION) + cd /tmp; tar cvzf chise-base-$(VERSION).tar.gz \ + chise-base-$(VERSION) + +libchise: + cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/chise login + cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/chise co libchise + +xemacs-chise: + cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/chise login + cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/chise co \ + -d xemacs-chise xemacs + +ids: + cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/chise login + cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/chise co ids + + +distclean: + cd libchise; make distclean + cd xemacs-chise; make distclean + cd ids; make clean -- 1.7.10.4