Changeset 27ac72d for Makefile


Ignore:
Timestamp:
2006-03-03T10:32:53Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
26fdfc5, 96ace1b
Parents:
5e713f6 (diff), cdb92c5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from Jelmer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r5e713f6 r27ac72d  
    1111# Program variables
    1212objects = account.o bitlbee.o conf.o crypting.o help.o ini.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_text.o unix.o url.o user.o util.o
     13headers = account.h bitlbee.h commands.h conf.h config.h crypting.h help.h ini.h ipc.h irc.h log.h nick.h query.h set.h sock.h storage.h url.h user.h protocols/http_client.h protocols/md5.h protocols/nogaim.h protocols/proxy.h protocols/sha.h protocols/ssl_client.h
    1314subdirs = protocols
    1415
     
    2021        $(MAKE) -C doc
    2122
    22 uninstall: uninstall-bin uninstall-doc
     23uninstall: uninstall-bin uninstall-doc 
    2324        @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n'
    2425
     
    5657uninstall-bin:
    5758        rm -f $(DESTDIR)$(BINDIR)/$(OUTFILE)
     59
     60install-dev:
     61        mkdir -p $(DESTDIR)$(INCLUDEDIR)
     62        install -m 0644 $(headers) $(DESTDIR)$(INCLUDEDIR)
     63        mkdir -p $(DESTDIR)$(PCDIR)
     64        install -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR)
     65
     66uninstall-dev:
     67        rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR)/$(hdr))
     68        -rmdir $(DESTDIR)$(INCLUDEDIR)
     69        rm -f $(DESTDIR)$(PCDIR)/bitlbee.pc
    5870
    5971install-etc:
Note: See TracChangeset for help on using the changeset viewer.