2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
11 PKGDIR
= debian
/${PACKAGE}
12 DOCDIR
= /usr
/share
/doc
/${PACKAGE}
13 LISPDIR
= /usr
/share
/emacs
/site-lisp
/${PACKAGE}
15 # This is the debhelper compatibility version to use.
18 configure
: configure-stamp
21 # Add here commands to configure the package.
25 build
: configure-stamp build-stamp
29 makeinfo --html
--output
=html muse.texi
30 # Add here commands to compile the package.
32 #/usr/bin/docbook-to-man debian/muse.sgml > muse.1
39 rm -f build-stamp configure-stamp
42 # Add here commands to clean up after the build process.
53 # Add here commands to install the package into debian/muse.
54 # $(MAKE) install DESTDIR=$(CURDIR)/debian/muse
55 install -m
644 lisp
/*.el
$(PKGDIR
)$(LISPDIR
)
56 install -m
644 experimental
/*.el
$(PKGDIR
)$(LISPDIR
)/experimental
57 install -m
644 contrib
/*.el
$(PKGDIR
)$(LISPDIR
)/contrib
58 install -m
644 contrib
/pyblosxom
/*.py
$(PKGDIR
)$(DOCDIR
)/contrib
/pyblosxom
61 install -m
0644 AUTHORS
${PKGDIR}${DOCDIR}/AUTHORS
62 install -m
0644 README
${PKGDIR}${DOCDIR}/README
63 install -m
0644 ChangeLog
${PKGDIR}${DOCDIR}/changelog
64 cat ChangeLog
.2004 >> ${PKGDIR}${DOCDIR}/changelog
66 # Build architecture-independent files here.
67 binary-indep
: build
install
68 # We have nothing to do by default.
70 # Build architecture-dependent files here.
71 binary-arch
: build
install
100 binary
: binary-indep binary-arch
101 .PHONY
: build
clean binary-indep binary-arch binary
install configure