~ubuntu-branches/ubuntu/wily/wmcdplay/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Wong
  • Date: 2002-01-12 13:04:25 UTC
  • Revision ID: james.westby@ubuntu.com-20020112130425-dss3fqplv7872cr0
Tags: 1.0beta1-8
* Changed Imakefile to use ComplexProgramTargetNoMan rather
  than ComplexProgramTarget (Closes: #123732)
* Added a menu entry for Window Maker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# This is a -*- makefile -*-
 
3
# Modified from the sample debian/rules that uses debhelper.
 
4
# GNU copyright 1998 by Marcelo Magallon.
 
5
# GNU copyright 1997 by Joey Hess.
 
6
 
 
7
# Uncomment this to turn on verbose mode.
 
8
#export DH_VERBOSE=1
 
9
 
 
10
build: build-stamp
 
11
build-stamp:
 
12
        dh_testdir
 
13
        xmkmf -a
 
14
        perl -pi -e 's/-DX_LOCALE//g;' Makefile
 
15
        $(MAKE) CC=c++ CXXDEBUGFLAGS="-g -O2"
 
16
        touch build-stamp
 
17
 
 
18
clean:
 
19
        dh_testdir
 
20
        dh_testroot
 
21
        rm -f build-stamp
 
22
        -$(MAKE) clean
 
23
        -rm Makefile
 
24
        dh_clean
 
25
 
 
26
# Build architecture-independent files here.
 
27
binary-indep: build
 
28
# We have nothing to do by default.
 
29
 
 
30
# Build architecture-dependent files here.
 
31
binary-arch: build
 
32
#       dh_testversion
 
33
        dh_testdir
 
34
        dh_testroot
 
35
        dh_clean -k
 
36
        dh_installdirs
 
37
        install -s -m 0755 wmcdplay `pwd`/debian/tmp/usr/bin/wmcdplay
 
38
        install -m 0644 XPM/*.art `pwd`/debian/tmp/usr/share/wmcdplay
 
39
#       ( cd XPM ; tar cf - . ) | \
 
40
#               ( cd debian/tmp/usr/share/wmcdplay/ ; tar xvf - )
 
41
#       mv debian/tmp/usr/share/wmcdplay/*.art \
 
42
#         debian/tmp/usr/share/wmcdplay
 
43
        dh_installdocs
 
44
        dh_installmenu
 
45
        dh_undocumented wmcdplay.7x
 
46
        dh_installchangelogs
 
47
        dh_strip
 
48
        dh_compress
 
49
        dh_fixperms
 
50
        dh_installdeb
 
51
        dh_shlibdeps
 
52
        dh_gencontrol
 
53
        dh_md5sums
 
54
        dh_builddeb
 
55
 
 
56
source diff:                                                                  
 
57
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
58
 
 
59
binary: binary-indep binary-arch
 
60
.PHONY: build clean binary-indep binary-arch binary