Changeset 0edb57f


Ignore:
Timestamp:
2014-07-01T22:26:58Z (5 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c564e25
Parents:
3e7a722
Message:

Two small fixes to make Debian builds work again.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r3e7a722 r0edb57f  
    139139systemd:
    140140ifdef SYSTEMDSYSTEMUNITDIR
    141         sed 's|@sbindir@|$(SBINDIR)|' init/bitlbee.service.in > init/bitlbee.service
    142         sed 's|@sbindir@|$(SBINDIR)|' init/bitlbee@.service.in > init/bitlbee@.service
     141        mkdir -p init
     142        sed 's|@sbindir@|$(SBINDIR)|' $(_SRCDIR_)init/bitlbee.service.in > init/bitlbee.service
     143        sed 's|@sbindir@|$(SBINDIR)|' $(_SRCDIR_)init/bitlbee@.service.in > init/bitlbee@.service
    143144endif
    144145
     
    149150        $(INSTALL) -m 0644 init/bitlbee.service $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)
    150151        $(INSTALL) -m 0644 init/bitlbee@.service $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)
    151         $(INSTALL) -m 0644 init/bitlbee.socket $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)
     152        $(INSTALL) -m 0644 $(_SRCDIR_)init/bitlbee.socket $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)
    152153else
    153154        @echo Not root, so not installing systemd files.
  • debian/rules

    r3e7a722 r0edb57f  
    1919ifndef BITLBEE_VERSION
    2020# Want to use the full package version number instead of just the release.
    21 BITLBEE_CONFIGURE_VERSION ?= BITLBEE_VERSION=\"$(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')\"
     21BITLBEE_CONFIGURE_VERSION ?= BITLBEE_VERSION="$(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')"
    2222endif
    2323
Note: See TracChangeset for help on using the changeset viewer.