3
# Sample debian/rules that uses debhelper.
4
# This file was originally written by Joey Hess and Craig Small.
5
# As a special exception, when this file is copied by dh-make into a
6
# dh-make output file, you may use that output file without restriction.
7
# This special exception was added by Craig Small in version 0.37 of dh-make.
9
# Uncomment this to turn on verbose mode.
16
configure: configure-stamp
19
# Add here commands to configure the package.
26
build-stamp: configure-stamp
29
# Add here commands to compile the package.
31
#docbook-to-man debian/ardesia.sgml > ardesia.1
38
rm -f build-stamp configure-stamp
40
# Add here commands to clean up after the build process.
51
# Add here commands to install the package into debian/ardesia.
52
$(MAKE) DESTDIR=$(CURDIR)/debian/ardesia install
55
# Build architecture-independent files here.
57
# We have nothing to do by default.
59
# Build architecture-dependent files here.
7
override_dh_auto_configure:
8
dh_auto_configure -- --docdir=/usr/share/doc
10
override_dh_auto_install:
11
dh_auto_install -- ardesiadocdir=/usr/share/doc/ardesia
12
rm $(CURDIR)/debian/ardesia/usr/share/doc/ardesia/COPYING
13
rm $(CURDIR)/debian/ardesia/usr/share/doc/ardesia/INSTALL
17
for i in ./usr/share/ardesia/scripts/screencast.sh \
18
./usr/share/ardesia/scripts/screencast.bat \
19
./usr/share/ardesia/ui/pixmaps/white.png \
20
./usr/share/ardesia/ui/pixmaps/red.png \
21
./usr/share/ardesia/ui/pixmaps/yellow.png \
22
./usr/share/ardesia/scripts/test3.ogv \
23
./usr/share/ardesia/ui/pixmaps/eraser.png \
24
./usr/share/ardesia/scripts/test.ogv \
25
./usr/share/ardesia/scripts/test2.ogv \
26
./usr/share/ardesia/ui/pixmaps/blue.png \
27
./usr/share/ardesia/ui/pixmaps/green.png ; \
29
chmod -x $(CURDIR)/debian/ardesia/$${i};\
90
binary: binary-indep binary-arch
91
.PHONY: build clean binary-indep binary-arch binary install configure