Changeset 4022b68 for debian/rules
- Timestamp:
- 2010-08-21T22:42:01Z (14 years ago)
- Branches:
- master
- Children:
- fd424c8
- Parents:
- 327af51 (diff), c00dd71 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/rules
r327af51 r4022b68 8 8 # 9 9 10 # Include the bitlbee-libpurple variant by default 11 BITLBEE_LIBPURPLE ?= 1 10 12 BITLBEE_CONFIGURE_FLAGS ?= 11 13 DEBUG ?= 0 … … 14 16 # Want to use the full package version number instead of just the release. 15 17 BITLBEE_CONFIGURE_VERSION ?= BITLBEE_VERSION=\"$(shell dpkg-parsechangelog | grep ^Version: | awk '{print $$2}')\" 18 endif 19 20 ifneq ($(BITLBEE_LIBPURPLE),1) 21 DH_OPTIONS += -Nbitlbee-libpurple 16 22 endif 17 23 … … 24 30 $(MAKE) -C debian/build-native 25 31 32 ifeq ($(BITLBEE_LIBPURPLE),1) 26 33 mkdir -p debian/build-libpurple 27 34 ROOT=$$PWD; cd debian/build-libpurple; $(BITLBEE_CONFIGURE_VERSION) $$ROOT/configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee --purple=1 $(BITLBEE_CONFIGURE_FLAGS) 28 35 $(MAKE) -C debian/build-libpurple 36 endif 29 37 30 38 $(MAKE) -C doc … … 37 45 rm -f build-stamp 38 46 39 rm -rf build-arch-stamp debian/build-* 47 rm -rf build-arch-stamp debian/build-* debian/bitlbee-libpurple.prerm 40 48 $(MAKE) distclean 41 49 … … 48 56 dh_installdirs 49 57 50 $(MAKE) -C debian/build-native install install-etcDESTDIR=`pwd`/debian/bitlbee51 $(MAKE) -C debian/build- libpurple install install-etc DESTDIR=`pwd`/debian/bitlbee-libpurple58 $(MAKE) -C debian/build-native install DESTDIR=`pwd`/debian/bitlbee 59 $(MAKE) -C debian/build-native install-etc DESTDIR=`pwd`/debian/bitlbee-common 52 60 $(MAKE) -C debian/build-native install-dev DESTDIR=`pwd`/debian/bitlbee-dev 61 patch debian/bitlbee-common/etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff 53 62 54 patch debian/bitlbee/etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff 55 patch debian/bitlbee-libpurple/etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff 63 ifeq ($(BITLBEE_LIBPURPLE),1) 64 $(MAKE) -C debian/build-libpurple install DESTDIR=`pwd`/debian/bitlbee-libpurple 65 ln -sf debian/bitlbee.prerm debian/bitlbee-libpurple.prerm 66 endif 56 67 57 68 mkdir -p debian/bitlbee-common/usr … … 68 79 # TODO: Restore --link-doc up here and remove the hack below once 69 80 # Hardy and Lenny are deprecated. 70 for p in bitlbee bitlbee-libpurple bitlbee-dev; do rm -r f debian/$$p/usr/share/doc/$$p;ln -s bitlbee-common debian/$$p/usr/share/doc/$$p; done81 for p in bitlbee bitlbee-libpurple bitlbee-dev; do rm -r debian/$$p/usr/share/doc/$$p && ln -s bitlbee-common debian/$$p/usr/share/doc/$$p; done 71 82 dh_installdebconf 72 dh_installinit 73 ifeq ($(DH_OPTIONS),-a) 74 cp -a debian/bitlbee/etc debian/bitlbee-libpurple 75 endif 83 dh_installinit --init-script=bitlbee 76 84 dh_installman 77 85 dh_strip … … 80 88 dh_fixperms 81 89 dh_installdeb 82 ifeq ($(DH_OPTIONS),-a)83 cp -a debian/bitlbee/DEBIAN/post* debian/bitlbee/DEBIAN/pre* debian/bitlbee-libpurple/DEBIAN84 endif85 90 dh_shlibdeps 86 91 ifdef BITLBEE_VERSION … … 93 98 94 99 binary-indep: build install 95 $(MAKE) -f debian/rules DH_OPTIONS=-ibinary-common100 DH_OPTIONS=-i $(MAKE) -f debian/rules binary-common 96 101 97 102 binary-arch: build install 98 $(MAKE) -f debian/rules DH_OPTIONS=-abinary-common103 DH_OPTIONS=-a $(MAKE) -f debian/rules binary-common 99 104 100 105 binary-%: build install 101 make -f debian/rules binary-common DH_OPTIONS=-p$*106 DH_OPTIONS=-p$* $(MAKE) -f debian/rules binary-common 102 107 103 108 binary: binary-indep binary-arch
Note: See TracChangeset
for help on using the changeset viewer.