~ubuntu-branches/ubuntu/intrepid/amphetamine/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Barry deFreese, Eddy Petrișor, Jon Dowland
  • Date: 2008-03-18 14:09:19 UTC
  • Revision ID: james.westby@ubuntu.com-20080318140919-x2a0l9978cjhrblw
Tags: 0.8.10-13
[ Barry deFreese ]
* Bump compat/debhelper to 5.
* Add Hompage and vcs tags to debian/control.
* Remove Homepage field from package description.
* Fix make clean target for lintian warning.
* Bump Standards Version to 3.7.3.
  + Menu policy transition.
* Fix watch file (Closes: #456472).
* Add desktop file. (Closes: #471254).
  + Add call to dh_desktop.
* Replace 'pwd' with $(CURDIR) in rules.
* Update Homepage URL.
* Add myself to uploaders.

[ Eddy Petrișor ]
* fix Vcs-Svn URL to point to svn, not the incomplete ssh location.

[ Jon Dowland ]
* add debian/amphetamine.links, creating symlinks amphetamine -> amph
  for binaries and manpages (Closes: #471257).
* update menu section to "Games/Action" for menu transition
  (thanks Linas Žvirblis).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
        dh_testdir
12
12
        dh_testroot
13
13
        rm -f build-stamp
14
 
        -$(MAKE) clean
 
14
        [ ! -f Makefile ] || $(MAKE) clean
15
15
        QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
16
16
        dh_clean
17
17
 
20
20
        dh_testroot
21
21
        dh_clean -k
22
22
        dh_installdirs
23
 
        $(MAKE) PREFIX=`pwd`/debian/amphetamine/usr install
 
23
        $(MAKE) PREFIX=$(CURDIR)/debian/amphetamine/usr install
 
24
 
 
25
        #Remove empty dir (in data package).
 
26
        rm -rf $(CURDIR)/debian/amphetamine/usr/share/games
 
27
 
 
28
        #Install the desktop file
 
29
        install -d $(CURDIR)/debian/amphetamine/usr/share/applications
 
30
        install -m 644 debian/amphetamine.desktop \
 
31
                $(CURDIR)/debian/amphetamine/usr/share/applications/amphetamine.desktop
 
32
 
 
33
        #Install desktop icon
 
34
        install -d $(CURDIR)/debian/amphetamine/usr/share/pixmaps
 
35
        install -m 644 amph.xpm \
 
36
                $(CURDIR)/debian/amphetamine/usr/share/pixmaps/amph.xpm
 
37
 
24
38
 
25
39
binary-indep: build install
26
40
 
32
46
        dh_installmenu
33
47
        dh_installman debian/*.6
34
48
        dh_installchangelogs ChangeLog
 
49
        dh_desktop
35
50
        dh_link
36
51
        dh_strip
37
52
        dh_compress