2
# debian/rules file for jed-extra
3
# GNU copyright 2003 by Rafael Laboissiere <rafael@debian.org>
5
# Uncomment this to turn on verbose mode.
10
ispell/ispell_common.sl \
14
sl_utils/bufutils.sl \
15
sl_utils/csvutils.sl \
16
sl_utils/datutils.sl \
17
sl_utils/sl_utils.sl \
18
sl_utils/strutils.sl \
21
slc_files = $(sl_files:%.sl=%.slc)
23
jed_root = /usr/share/jed
24
debroot = $(shell pwd)/debian/jed-extra
25
site_lib_dir = $(jed_root)/site-lib
26
jed_init_dir = /etc/jed-init.d
32
( cd sl_utils ; tar xfz ../sl_utils.tar.gz )
37
@for i in `find patch -name \*.patch` ; do \
38
echo Applying patch $$i ; \
39
patch -p0 --no-backup-if-mismatch < $$i ; \
43
echo $(sl_files) | eperl compile-files.sl.in -o compile-files.sl
44
jed -batch -l ./compile-files.sl
47
build-stamp: untar patch byte-compile
55
rm -rf ispell sl_utils home-lib compile-files.sl build-stamp
63
dh_installdirs $(site_lib_dir) $(jed_init_dir)
65
install --mode=644 $(sl_files) $(slc_files) $(debroot)$(site_lib_dir)
66
install --mode=644 home-lib/home-lib.sl \
67
$(debroot)$(jed_init_dir)/05home-lib.sl
68
install --mode=644 ispell/ispell_init.sl \
69
$(debroot)$(jed_init_dir)/55ispell.sl
72
# Build architecture-independent files here.
73
binary-indep: build install
103
# Build architecture-dependent files here.
105
# We have nothing to do by default.
107
binary: binary-indep binary-arch
108
.PHONY: build clean binary-indep binary-arch binary install untar patch \