- Timestamp:
- 2015-02-20T23:16:08Z (10 years ago)
- Parents:
- 5ebff60
- git-author:
- dequis <dx@…> (27-12-14 04:06:45)
- git-committer:
- dequis <dx@…> (20-02-15 23:16:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r5ebff60 r0b9daac 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 $(_SRCDIR_)*.h $(_SRCDIR_)lib/*.h $(_SRCDIR_)protocols/*.h)13 headers = $(foreach dir,./ ./lib/ ./protocols/,$(patsubst $(_SRCDIR_)%,%,$(wildcard $(_SRCDIR_)$(dir)*.h))) 14 14 subdirs = lib protocols 15 15 … … 92 92 93 93 install-dev: 94 mkdir -p $(DESTDIR)$(INCLUDEDIR) 94 mkdir -p $(DESTDIR)$(INCLUDEDIR) $(DESTDIR)$(INCLUDEDIR)lib $(DESTDIR)$(INCLUDEDIR)protocols 95 95 $(INSTALL) -m 0644 config.h $(DESTDIR)$(INCLUDEDIR) 96 for i in $(headers); do $(INSTALL) -m 0644 $ $i $(DESTDIR)$(INCLUDEDIR); done96 for i in $(headers); do $(INSTALL) -m 0644 $(_SRCDIR_)$$i $(DESTDIR)$(INCLUDEDIR)$$i; done 97 97 mkdir -p $(DESTDIR)$(PCDIR) 98 98 $(INSTALL) -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR) 99 99 100 100 uninstall-dev: 101 rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR) /$(hdr))102 -rmdir $(DESTDIR)$(INCLUDEDIR) 101 rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR)$(hdr)) 102 -rmdir $(DESTDIR)$(INCLUDEDIR)lib $(DESTDIR)$(INCLUDEDIR)protocols $(DESTDIR)$(INCLUDEDIR) 103 103 rm -f $(DESTDIR)$(PCDIR)/bitlbee.pc 104 104
Note: See TracChangeset
for help on using the changeset viewer.