Changeset ebe2c5e
- Timestamp:
- 2014-09-28T22:27:13Z (10 years ago)
- Branches:
- master
- Children:
- 168d3bb
- Parents:
- e252d8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
re252d8c rebe2c5e 11 11 # Program variables 12 12 objects = bitlbee.o dcc.o help.o ipc.o irc.o irc_im.o irc_channel.o irc_commands.o irc_send.o irc_user.o irc_util.o nick.o $(OTR_BI) query.o root_commands.o set.o storage.o $(STORAGE_OBJS) unix.o conf.o log.o 13 headers = $(wildcard *.h lib/*.hprotocols/*.h)13 headers = $(wildcard $(_SRCDIR_)*.h $(_SRCDIR_)lib/*.h $(_SRCDIR_)protocols/*.h) 14 14 subdirs = lib protocols 15 15 … … 94 94 mkdir -p $(DESTDIR)$(INCLUDEDIR) 95 95 $(INSTALL) -m 0644 config.h $(DESTDIR)$(INCLUDEDIR) 96 for i in $(headers); do $(INSTALL) -m 0644 $ (_SRCDIR_)$$i $(DESTDIR)$(INCLUDEDIR); done96 for i in $(headers); do $(INSTALL) -m 0644 $$i $(DESTDIR)$(INCLUDEDIR); done 97 97 mkdir -p $(DESTDIR)$(PCDIR) 98 98 $(INSTALL) -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR) … … 141 141 install-systemd: systemd 142 142 ifdef SYSTEMDSYSTEMUNITDIR 143 ifeq ($(shell id -u),0)144 143 mkdir -p $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) 145 144 $(INSTALL) -m 0644 init/bitlbee.service $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) … … 147 146 $(INSTALL) -m 0644 $(_SRCDIR_)init/bitlbee.socket $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) 148 147 else 149 @echo Not root, so not installing systemd files. 150 endif 148 @echo SYSTEMDSYSTEMUNITDIR not set, not installing systemd unit files. 151 149 endif 152 150
Note: See TracChangeset
for help on using the changeset viewer.