Changeset 763a3ab for debian/rules


Ignore:
Timestamp:
2010-08-18T10:01:10Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
acd7959
Parents:
57782e4
Message:

Pass the -Npackage flag the right way so bitlbee-libpurple doesn't appear
in debian/files. The previous hack broke genchanges/debsign.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/rules

    r57782e4 r763a3ab  
    1616# Want to use the full package version number instead of just the release.
    1717BITLBEE_CONFIGURE_VERSION ?= BITLBEE_VERSION=\"$(shell dpkg-parsechangelog | grep ^Version: | awk '{print $$2}')\"
     18endif
     19
     20ifneq ($(BITLBEE_LIBPURPLE),1)
     21DH_OPTIONS += -Nbitlbee-libpurple
    1822endif
    1923
     
    9195endif
    9296        dh_md5sums
    93 ifeq ($(BITLBEE_LIBPURPLE),1)
    9497        dh_builddeb
    95 else
    96         dh_builddeb -Nbitlbee-libpurple
    97 endif
    9898
    9999binary-indep: build install
    100         $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
     100        DH_OPTIONS=-i $(MAKE) -f debian/rules binary-common
    101101
    102102binary-arch: build install
    103         $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
     103        DH_OPTIONS=-a $(MAKE) -f debian/rules binary-common
    104104
    105105binary-%: build install
    106         make -f debian/rules binary-common DH_OPTIONS=-p$*
     106        DH_OPTIONS=-p$* $(MAKE) -f debian/rules binary-common
    107107
    108108binary: binary-indep binary-arch
Note: See TracChangeset for help on using the changeset viewer.