2
# Made with the aid of debmake, by Christoph Lameter,
3
# based on the sample debian/rules file for GNU hello by Ian Jackson.
5
package=propaganda-debian
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
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
16
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
20
configure: configure-stamp
23
# Add here commands to configure the package.
30
build-stamp: configure-stamp
12
-rm -f `find . -name "*~"`
13
-rm -rf debian/tmp debian/files* debian/substvars
19
cd debian/tmp && install -d `cat ../dirs`
20
cp script.perl debian/tmp/usr/share/backgrounds/propaganda/vol13.5
21
cp *.html debian/tmp/usr/share/backgrounds/propaganda/vol13.5
22
cp *.JPG debian/tmp/usr/share/backgrounds/propaganda/vol13.5
25
chown -R root.root debian/tmp
26
chmod -R go=rX debian/tmp
27
dpkg --build debian/tmp ..
37
rm -f build-stamp configure-stamp
46
cp images/*.JPG $(CURDIR)/debian/propaganda-debian/usr/share/wallpapers
47
cp html/*.html $(CURDIR)/debian/propaganda-debian/usr/share/doc/propaganda-debian/html
49
# Build architecture-independent files here.
50
binary-indep: build install
52
# Build architecture-dependent files here.
53
binary-arch: build install
35
83
binary: binary-indep binary-arch
37
.PHONY: binary binary-arch binary-indep clean
84
.PHONY: build clean binary-indep binary-arch binary install configure