Changeset 96ace1b for Makefile


Ignore:
Timestamp:
2006-03-05T20:07:33Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
728a981
Parents:
f665dab (diff), 27ac72d (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] Wilmer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rf665dab r96ace1b  
    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
     
    2223        $(MAKE) -C doc
    2324
    24 uninstall: uninstall-bin uninstall-doc
     25uninstall: uninstall-bin uninstall-doc 
    2526        @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n'
    2627
     
    5859uninstall-bin:
    5960        rm -f $(DESTDIR)$(BINDIR)/$(OUTFILE)
     61
     62install-dev:
     63        mkdir -p $(DESTDIR)$(INCLUDEDIR)
     64        install -m 0644 $(headers) $(DESTDIR)$(INCLUDEDIR)
     65        mkdir -p $(DESTDIR)$(PCDIR)
     66        install -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR)
     67
     68uninstall-dev:
     69        rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR)/$(hdr))
     70        -rmdir $(DESTDIR)$(INCLUDEDIR)
     71        rm -f $(DESTDIR)$(PCDIR)/bitlbee.pc
    6072
    6173install-etc:
Note: See TracChangeset for help on using the changeset viewer.