2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
9 PKGDIR
= debian
/${PACKAGE}
10 DOCDIR
= /usr
/share
/doc
/${PACKAGE}
11 LISPDIR
= /usr
/share
/emacs
/site-lisp
/${PACKAGE}
13 configure
: configure-stamp
16 # Add here commands to configure the package.
22 build-stamp
: configure-stamp
25 # Add here commands to compile the package.
28 LANG
=en_US
makeinfo planner-el.texi
29 texi2html planner-el.texi
35 rm -f build-stamp configure-stamp
37 # Add here commands to clean up after the build process.
47 # Add here commands to install the package into debian/tmp.
48 install -d
$(PKGDIR
)$(LISPDIR
) $(PKGDIR
)$(LISPDIR
)/contrib
49 install -d
${PKGDIR}${DOCDIR}
50 install -m
644 *.el
$(PKGDIR
)$(LISPDIR
)
51 install -m
644 contrib
/*.el
$(PKGDIR
)$(LISPDIR
)/contrib
52 install -m
0644 AUTHORS
${PKGDIR}${DOCDIR}/AUTHORS
53 install -m
0644 COMMENTARY
${PKGDIR}${DOCDIR}/COMMENTARY
54 install -m
0644 NEWS
${PKGDIR}${DOCDIR}/NEWS
55 install -m
0644 README
${PKGDIR}${DOCDIR}/README
56 install -m
0644 ChangeLog
.2006 ${PKGDIR}${DOCDIR}/changelog
57 cat ChangeLog
.2005 >> ${PKGDIR}${DOCDIR}/changelog
58 cat ChangeLog
.2004 >> ${PKGDIR}${DOCDIR}/changelog
60 # Build architecture-independent files here.
61 binary-indep
: build
install
71 dh_installemacsen
--priority
=51
91 # Build architecture-dependent files here.
92 binary-arch
: build
install
94 binary
: binary-indep binary-arch
95 .PHONY
: build
clean binary-indep binary-arch binary
install configure