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.
10
include /usr/share/quilt/quilt.make
12
# Uncomment this to turn on verbose mode.
15
DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
18
build: patch build-stamp
20
build-stamp: $(QUILT_STAMPFN)
23
# Add here commands to compile the package.
26
$(XP) $(DB2MAN) debian/meritous.xml
35
# Add here commands to clean up after the build process.
39
# The $(MAKE) clean target doesn't clean properly when the
40
# *.o files don't exist. Until they are fixed upstream, we
53
# Build architecture-independent files here.
54
binary-indep: build install
55
# We have nothing to do by default.
57
# Build architecture-dependent files here.
58
binary-arch: build install
77
binary: binary-indep binary-arch
80
ORIG_HOST=http://www.asceai.net/files
81
ORIG_FILE=meritous_v12_src.tar.bz2
82
DFSG_FILE=meritous_1.2+dfsg.orig.tar.gz
86
wget $(ORIG_HOST)/$(ORIG_FILE)
89
# Music file licenses cannot be validated
90
rm -rf meritous_v12_src/dat/m
93
tar -czf $(DFSG_FILE) meritous_v12_src
94
rm -rf meritous_v12_src $(ORIG_FILE)
96
.PHONY: build clean binary-indep binary-arch binary install get-orig-source