Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rf665dab rcdb92c5  
    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
    14 
    15 objects += $(LDB_OBJ)
    1615
    1716# Expansion of variables
     
    2221        $(MAKE) -C doc
    2322
    24 uninstall: uninstall-bin uninstall-doc
     23uninstall: uninstall-bin uninstall-doc 
    2524        @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n'
    2625
     
    5857uninstall-bin:
    5958        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
    6070
    6171install-etc:
Note: See TracChangeset for help on using the changeset viewer.