Changeset 601e813 for Makefile


Ignore:
Timestamp:
2006-05-24T23:04:18Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
80c1e4d
Parents:
46ad029 (diff), fc630f9 (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

    r46ad029 r601e813  
    1111# Program variables
    1212objects = account.o bitlbee.o crypting.o help.o ini.o ipc.o irc.o irc_commands.o nick.o query.o root_commands.o set.o storage.o storage_text.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
     
    2627        $(MAKE) -C doc
    2728
    28 uninstall: uninstall-bin uninstall-doc
     29uninstall: uninstall-bin uninstall-doc 
    2930        @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n'
    3031
     
    6263uninstall-bin:
    6364        rm -f $(DESTDIR)$(BINDIR)/$(OUTFILE)
     65
     66install-dev:
     67        mkdir -p $(DESTDIR)$(INCLUDEDIR)
     68        install -m 0644 $(headers) $(DESTDIR)$(INCLUDEDIR)
     69        mkdir -p $(DESTDIR)$(PCDIR)
     70        install -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR)
     71
     72uninstall-dev:
     73        rm -f $(foreach hdr,$(headers),$(DESTDIR)$(INCLUDEDIR)/$(hdr))
     74        -rmdir $(DESTDIR)$(INCLUDEDIR)
     75        rm -f $(DESTDIR)$(PCDIR)/bitlbee.pc
    6476
    6577install-etc:
Note: See TracChangeset for help on using the changeset viewer.