Changeset 7fa5c19 for Makefile


Ignore:
Timestamp:
2012-02-11T12:55:45Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
eb54f56
Parents:
23445b6
Message:

Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIR
unexpectedly being set to something already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r23445b6 r7fa5c19  
    9696        mkdir -p $(DESTDIR)$(INCLUDEDIR)
    9797        install -m 0644 config.h $(DESTDIR)$(INCLUDEDIR)
    98         for i in $(headers); do install -m 0644 $(SRCDIR)$$i $(DESTDIR)$(INCLUDEDIR); done
     98        for i in $(headers); do install -m 0644 $(_SRCDIR_)$$i $(DESTDIR)$(INCLUDEDIR); done
    9999        mkdir -p $(DESTDIR)$(PCDIR)
    100100        install -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR)
     
    107107install-etc:
    108108        mkdir -p $(DESTDIR)$(ETCDIR)
    109         install -m 0644 $(SRCDIR)motd.txt $(DESTDIR)$(ETCDIR)/motd.txt
    110         install -m 0644 $(SRCDIR)bitlbee.conf $(DESTDIR)$(ETCDIR)/bitlbee.conf
     109        install -m 0644 $(_SRCDIR_)motd.txt $(DESTDIR)$(ETCDIR)/motd.txt
     110        install -m 0644 $(_SRCDIR_)bitlbee.conf $(DESTDIR)$(ETCDIR)/bitlbee.conf
    111111
    112112uninstall-etc:
     
    128128        install -m 0755 skype.so $(DESTDIR)$(PLUGINDIR)
    129129        mkdir -p $(DESTDIR)$(ETCDIR)/../skyped $(DESTDIR)$(BINDIR)
    130         install -m 0644 $(SRCDIR)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf
    131         install -m 0644 $(SRCDIR)protocols/skype/skyped.conf.dist $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf
    132         install -m 0755 $(SRCDIR)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped
     130        install -m 0644 $(_SRCDIR_)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf
     131        install -m 0644 $(_SRCDIR_)protocols/skype/skyped.conf.dist $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf
     132        install -m 0755 $(_SRCDIR_)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped
    133133        make -C protocols/skype install-doc
    134134endif
     
    161161        @$(MAKE) -C $@ $(MAKECMDGOALS)
    162162
    163 $(OTR_PI): %.so: $(SRCDIR)%.c
     163$(OTR_PI): %.so: $(_SRCDIR_)%.c
    164164        @echo '*' Building plugin $@
    165165        @$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) $< -o $@ $(OTRFLAGS)
    166166
    167 $(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c
     167$(SKYPE_PI): $(_SRCDIR_)protocols/skype/skype.c
    168168        @echo '*' Building plugin skype
    169169        @$(CC) $(CFLAGS) -fPIC -shared $< -o $@
    170170
    171 $(objects): %.o: $(SRCDIR)%.c
     171$(objects): %.o: $(_SRCDIR_)%.c
    172172        @echo '*' Compiling $<
    173173        @$(CC) -c $(CFLAGS) $< -o $@
Note: See TracChangeset for help on using the changeset viewer.