~ubuntu-branches/ubuntu/jaunty/xmix/jaunty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Steve Dunham
  • Date: 2002-10-31 07:14:15 UTC
  • Revision ID: james.westby@ubuntu.com-20021031071415-ec7s7xiv0jskoevt
Tags: 2.1-4
* New maintainer
* Change the way it decodes volume info to match gmix.
* Change to use debhelper
* Closes: #165460

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# Sample debian/rules that uses debhelper.
 
3
# GNU copyright 1997 to 1999 by Joey Hess.
 
4
 
 
5
# Uncomment this to turn on verbose mode.
 
6
#export DH_VERBOSE=1
 
7
 
 
8
# This is the debhelper compatibility version to use.
 
9
export DH_COMPAT=3
 
10
 
 
11
 
 
12
 
 
13
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 
14
        CFLAGS += -g
 
15
endif
 
16
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 
17
        INSTALL_PROGRAM += -s
 
18
endif
 
19
 
 
20
build: build-stamp
 
21
 
 
22
build-stamp:
 
23
        dh_testdir
 
24
 
 
25
        xmkmf
 
26
        $(MAKE)
 
27
 
 
28
        touch build-stamp
 
29
 
 
30
clean:
 
31
        dh_testdir
 
32
        dh_testroot
 
33
        rm -f build-stamp configure-stamp
 
34
 
 
35
        #-$(MAKE) clean
 
36
        -rm -f xmix.o Makefile xmix
 
37
 
 
38
        dh_clean
 
39
 
 
40
install: build
 
41
        dh_testdir
 
42
        dh_testroot
 
43
        dh_clean -k
 
44
        dh_installdirs
 
45
 
 
46
        install -m 755 xmix debian/xmix/usr/X11R6/bin/xmix
 
47
        install -m 644 xmix.1 debian/xmix/usr/X11R6/man/man1/xmix.1x
 
48
        install -m 644 XMix debian/xmix/etc/X11/app-defaults/XMix
 
49
 
 
50
binary-indep: build install
 
51
 
 
52
# Build architecture-dependent files here.
 
53
binary-arch: build install
 
54
        dh_testdir
 
55
        dh_testroot
 
56
        dh_installdocs
 
57
        dh_installmenu
 
58
        dh_installman
 
59
#       dh_undocumented
 
60
        dh_installchangelogs 
 
61
        dh_link
 
62
        dh_strip
 
63
        dh_compress
 
64
        dh_fixperms
 
65
        dh_installdeb
 
66
        dh_shlibdeps
 
67
        dh_gencontrol
 
68
        dh_md5sums
 
69
        dh_builddeb
 
70
 
 
71
binary: binary-indep binary-arch
 
72
.PHONY: build clean binary-indep binary-arch binary install configure