Changeset 0edb57f for Makefile


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

Two small fixes to make Debian builds work again.

File:
1 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.
Note: See TracChangeset for help on using the changeset viewer.