debian swirl logo

Back to the packages list liece

#!/usr/bin/make -f

DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes

include /usr/share/cdbs/1/rules/debhelper.mk

DEB_DH_INSTALLEMACSEN_ARGS := --priority=51

clean::
		-rm -f debian/Xresources.ja
		-rm -f etc/po/*.mo

		[ ! -f Makefile ] || $(MAKE) distclean

		-rm -f Makefile.in aclocal.m4 configure depcomp install-sh missing
		-rm -f dcc/Makefile.in
		-rm -f doc/Makefile.in
		-rm -f etc/Makefile.in
		-rm -f etc/icons/Makefile.in
		-rm -f etc/po/Makefile.in
		-rm -f etc/styles/Makefile.in
		-rm -f lisp/Makefile.in

common-configure-arch::
		autoreconf -f -i
		./configure --prefix=/usr \
			--with-lispdir=/usr/share/emacs/site-lisp \
			--enable-ipv6

build/liece::
		cd etc/po && msgfmt -o liece.mo ja.po

build/liece-dcc::
		cd dcc && $(MAKE)

install/liece::
		install -m 644 lisp/*.el $(CURDIR)/debian/liece/usr/share/emacs/site-lisp/liece
		install -m 644 lisp/*.x[bp]m $(CURDIR)/debian/liece/usr/share/emacs/site-lisp/liece
		install -m 644 contrib/*.el $(CURDIR)/debian/liece/usr/share/emacs/site-lisp/liece
		install -m 644 debian/delegate.el $(CURDIR)/debian/liece/usr/share/emacs/site-lisp/liece
		install -m 644 lisp/ChangeLog $(CURDIR)/debian/liece/usr/share/doc/liece/changelog
		install -m 644 etc/icons/*.xpm $(CURDIR)/debian/liece/usr/share/pixmaps/liece
		install -m 644 etc/po/liece.mo $(CURDIR)/debian/liece/usr/share/locale/ja/LC_MESSAGES
		install -m 644 etc/styles/top etc/styles/middle etc/styles/bottom \
                       $(CURDIR)/debian/liece/usr/share/emacs/site-lisp/liece/styles
		install -m 644 etc/Emacs.ad debian/Xresources.ja

install/liece-dcc::
		install -m 755 dcc/ldcc dcc/ltcp $(CURDIR)/debian/liece-dcc/usr/lib/liece-dcc

Builds:

liece-dcc
dcc program for liece
liece
irc (internet relay chat) client for emacs