~ken-vandine/+junk/liblauncher-gtk3

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Loïc Minier
  • Date: 2009-09-25 12:44:07 UTC
  • mfrom: (0.1.4 karmic) (62.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090925124407-zc40q066a5n5i9hw
* New upstream release.
  - Fixes software-store entry not showing up; LP: #433386.
* Wrap build-deps and deps to get cleaner diffs.
* Bump up Standards-Version to 3.8.3; no change needed.
* Enhance short descriptions slightly.
* Add shlibs:Depends and misc:Depends to liblauncher-dev.
* Build-dep on libglib2.0-dev.
* Let liblauncher-dev dep on libglib2.0-dev, libgtk2.0-dev, libwnck-dev,
  libgnome-menu-dev as their .pcs are referenced in launcher.pc.
* rules: add .PHONY and use $@ in clean:.
* debian/synbols: use 0.1.7~ in versions instead of 0.1.7-0ubuntu1.
* Use dh_prep instead of dh_clean -k.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
include /usr/share/cdbs/1/class/gnome.mk
4
 
include /usr/share/cdbs/1/rules/debhelper.mk
5
 
include /usr/share/cdbs/1/rules/utils.mk
6
 
 
7
 
LDFLAGS += -Wl,-z,defs -Wl,--as-needed
8
 
DEB_DH_MAKESHLIBS_ARGS_liblauncher-0.3-0 = -V 'liblauncher-0.3-0 (>= 0.3.6)'
9
 
 
10
 
binary-pre-install::
11
 
        find debian/tmp/usr/lib -name \*.la -exec rm {} \;
12
 
        find debian/tmp/usr/lib -name \*.a -exec rm {} \;
13
 
 
14
 
common-binary-predeb-arch:: list-missing
 
3
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 
4
CFLAGS += -O0
 
5
else
 
6
CFLAGS += -O2
 
7
endif
 
8
 
 
9
build: build-stamp
 
10
build-stamp:
 
11
        ./configure --prefix=/usr
 
12
        $(MAKE)
 
13
        touch $@
 
14
 
 
15
clean:
 
16
        dh $@
 
17
 
 
18
install: build install-stamp
 
19
install-stamp:
 
20
        dh_prep
 
21
        dh install --after test
 
22
        touch $@
 
23
 
 
24
binary-arch: install
 
25
        dh binary-arch --before dh_makeshlibs
 
26
        dh_makeshlibs -a -- -c4
 
27
        dh binary-arch --after dh_makeshlibs
 
28
 
 
29
binary-indep: install
 
30
        dh binary-indep
 
31
 
 
32
binary: binary-arch binary-indep
 
33
 
 
34
.PHONY: binary binary-arch binary-indep install clean build