2 # Made with the aid of debmake, by Christoph Lameter,
3 # based on the sample debian/rules file for GNU hello by Ian Jackson.
15 -rm -f `find . -name "*~"`
16 -rm -rf debian/tmp debian/files* core debian/substvars
18 binary-indep: checkroot build
20 # There are no architecture-independent files to be uploaded
21 # generated by this package. If there were any they would be
24 binary-arch: checkroot build
28 cd debian/tmp && install -d `cat ../dirs`
30 cp dictionary.el connection.el link.el dictionary-init.el \
31 debian/tmp/usr/share/emacs/site-lisp
32 cp debian/install.debian debian/tmp/usr/lib/emacsen-common/packages/install/dictionary
33 chmod 755 debian/tmp/usr/lib/emacsen-common/packages/install/dictionary
34 cp debian/remove.debian debian/tmp/usr/lib/emacsen-common/packages/remove/dictionary
35 chmod 755 debian/tmp/usr/lib/emacsen-common/packages/remove/dictionary
39 chown -R root.root debian/tmp
40 chmod -R go=rX debian/tmp
41 dpkg --build debian/tmp ..
47 binary: binary-indep binary-arch
51 test root = "`whoami`"
53 .PHONY: binary binary-arch binary-indep clean checkroot