~ubuntu-branches/debian/jessie/gwaei/jessie

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-07-20 16:40:00 UTC
  • Revision ID: james.westby@ubuntu.com-20100720164000-s5qox2u0bute8bmu
Tags: 1.4.1-2
* add menu file for gwaei (Closes: #589305)
  - convert png icons to xpm, for that add imagemagick to build-deps
  - add debian/menu file, putting it into Applications/Text category
  - install the xpm files (16x16, 24x24, 32x32) into /u/s/pixmaps

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        dh_testdir
19
19
        dh_testroot
20
20
        make clean || true
 
21
        for i in 16x16 24x24 32x32 ; do \
 
22
          rm -f src/images/$$i/gwaei.xpm ; \
 
23
        done
21
24
        rm -f config.status Doxyfile config.h stamp-h1 config.log
22
25
        rm -f Makefile help/gwaei.omf help/Makefile po/Makefile
23
26
        rm -f po/POTFILES po/Makefile.in rpm/rpm_gconf_install_post.sh
38
41
                --sysconfdir=/usr/share \
39
42
                --mandir=/usr/share/man \
40
43
                --disable-schemas-install
 
44
        # convert png icons to xpm so that we can use them with menu system
 
45
        for i in 16x16 24x24 32x32 ; do \
 
46
          convert src/images/$$i/gwaei.png src/images/$$i/gwaei.xpm ; \
 
47
        done
41
48
        touch config-stamp
42
49
 
43
50
build: build-stamp
56
63
        rm -f $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/gwaei/COPYING
57
64
        # this will be already installed by dh_installchangelogs below
58
65
        rm -f $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/gwaei/ChangeLog
 
66
        #
 
67
        # install additional xpm icons
 
68
        dh_installdirs usr/share/pixmaps
 
69
        cp src/images/16x16/gwaei.xpm \
 
70
                $(CURDIR)/debian/$(PACKAGE)/usr/share/pixmaps/gwaei_16x16.xpm
 
71
        cp src/images/32x32/gwaei.xpm \
 
72
                $(CURDIR)/debian/$(PACKAGE)/usr/share/pixmaps/gwaei_32x32.xpm
 
73
        cp src/images/24x24/gwaei.xpm \
 
74
                $(CURDIR)/debian/$(PACKAGE)/usr/share/pixmaps/gwaei.xpm
59
75
 
60
76
# Build architecture-independent files here.
61
77
binary-indep: build install