- Timestamp:
- 2010-08-17T10:39:21Z (14 years ago)
- Branches:
- master
- Children:
- 5b94e9e
- Parents:
- 762d96f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/rules
r762d96f rd20ea9f 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 … … 24 26 $(MAKE) -C debian/build-native 25 27 28 ifeq ($(BITLBEE_LIBPURPLE),1) 26 29 mkdir -p debian/build-libpurple 27 30 ROOT=$$PWD; cd debian/build-libpurple; $(BITLBEE_CONFIGURE_VERSION) $$ROOT/configure --debug=$(DEBUG) --prefix=/usr --etcdir=/etc/bitlbee --purple=1 $(BITLBEE_CONFIGURE_FLAGS) 28 31 $(MAKE) -C debian/build-libpurple 32 endif 29 33 30 34 $(MAKE) -C doc … … 49 53 50 54 $(MAKE) -C debian/build-native install install-etc DESTDIR=`pwd`/debian/bitlbee 55 $(MAKE) -C debian/build-native install-dev DESTDIR=`pwd`/debian/bitlbee-dev 56 patch debian/bitlbee/etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff 57 58 ifeq ($(BITLBEE_LIBPURPLE),1) 51 59 $(MAKE) -C debian/build-libpurple install install-etc DESTDIR=`pwd`/debian/bitlbee-libpurple 52 $(MAKE) -C debian/build-native install-dev DESTDIR=`pwd`/debian/bitlbee-dev53 54 patch debian/bitlbee/etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff55 60 patch debian/bitlbee-libpurple/etc/bitlbee/bitlbee.conf debian/patches/bitlbee.conf.diff 61 endif 56 62 57 63 mkdir -p debian/bitlbee-common/usr … … 68 74 # TODO: Restore --link-doc up here and remove the hack below once 69 75 # 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; done76 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 77 dh_installdebconf 72 78 dh_installinit 73 ifeq ($( DH_OPTIONS),-a)79 ifeq ($(BITLBEE_LIBPURPLE)$(DH_OPTIONS),1-a) 74 80 cp -a debian/bitlbee/etc debian/bitlbee-libpurple 75 81 endif … … 80 86 dh_fixperms 81 87 dh_installdeb 82 ifeq ($( DH_OPTIONS),-a)88 ifeq ($(BITLBEE_LIBPURPLE)$(DH_OPTIONS),1-a) 83 89 cp -a debian/bitlbee/DEBIAN/post* debian/bitlbee/DEBIAN/pre* debian/bitlbee-libpurple/DEBIAN 84 90 endif … … 90 96 endif 91 97 dh_md5sums 98 ifeq ($(BITLBEE_LIBPURPLE),1) 92 99 dh_builddeb 100 else 101 dh_builddeb -Nbitlbee-libpurple 102 endif 93 103 94 104 binary-indep: build install
Note: See TracChangeset
for help on using the changeset viewer.