source: pkg/boss/main/libgtkhtml2/trunk/debian/rules @ 4325

Revision 4325, 1.5 KB checked in by alanbach-guest, 5 years ago (diff)
  • Merged updates from Ubuntu 2.11.1-2ubuntu1
    • Bump standards version to 3.8.0.1
  • Property svn:executable set to *
Line 
1#!/usr/bin/make -f
2
3DISABLE_UPDATE_UPLOADERS := 1
4include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
5-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
6GNOME_MODULE := libgtkhtml
7
8SONAME := 0
9LIB_PKG := libgtkhtml2-$(SONAME)
10
11configure: configure-stamp
12configure-stamp: debian/control
13        dh_testdir
14        -test -r /usr/share/misc/config.sub && \
15           cp -f /usr/share/misc/config.sub $(BUILD_DIR)/config.sub
16        -test -r /usr/share/misc/config.guess && \
17           cp -f /usr/share/misc/config.guess $(BUILD_DIR)/config.guess
18        ./configure --prefix=/usr --sysconfdir=/etc
19        touch $@
20
21build: build-stamp
22build-stamp: configure-stamp
23        dh_testdir
24        $(MAKE)
25        touch $@
26
27clean:: debian/control
28        dh_testdir
29        dh_testroot
30        rm -f *-stamp
31        [ ! -f Makefile ] || $(MAKE) distclean
32        dh_clean
33        sed -e 's#@SONAME@#$(SONAME)#g' \
34                -e 's#@GNOME_TEAM@#$(UPLOADERS)#g' \
35                debian/control.in >debian/control
36
37install: install-stamp
38install-stamp: build-stamp
39        dh_testdir
40        dh_testroot
41        dh_clean
42        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
43
44binary-indep: install
45
46binary-arch: install
47        dh_testdir
48        dh_testroot
49        dh_install -s --sourcedir=debian/tmp
50        dh_installdocs -p$(LIB_PKG)
51        dh_installman -s
52        dh_installchangelogs -p$(LIB_PKG) ChangeLog
53        dh_link -s
54        dh_strip -s --dbg-package=libgtkhtml2-dbg
55        dh_compress -s
56        dh_fixperms -s
57        dh_makeshlibs -s -V
58        dh_installdeb -s
59        dh_shlibdeps -s -ldebian/$(LIB_PKG)/usr/lib
60        dh_gencontrol -s
61        dh_md5sums -s
62        dh_builddeb -s
63
64binary: binary-indep binary-arch
65.PHONY: configure build clean install binary-indep binary-arch binary
Note: See TracBrowser for help on using the repository browser.