view mcabber/mcabber/Makefile.am @ 2304:fa8365fb6ac2

[PATCH 1/3] New option: vi_mode If the new vi_mode option is set to 1, let MCabber's non-chat mode accept a few commands loosely based on those available in vi(1)'s normal mode, e.g.: A Call "/roster unread_first". a Call "/roster unread_next". F Call "/roster group_prev". f Call "/roster group_next". G Call "/roster bottom". gg Call "/roster top". i Enter chat mode. [<n>]j Call "/roster down [<n>]". [<n>]k Call "/roster up [<n>]". n Repeat the previous search (if any). O Call "/roster unread_first" and open chat window. o Call "/roster unread_next" and open chat window. ZZ Call "/quit". zM Call "/group fold" for all groups. zR Call "/group unfold" for all groups. <Space> Call "/group toggle" for the current group. '' Call "/roster alternate". ! Toggle attention flag for current buddy. # Toggle unread messages flag for current buddy. /<str> Call "/roster search <str>". :q Call "/quit". :wq Call "/quit". :x Call "/quit". :<n> Jump to line <n> in the roster. :<cmd> Call "/<cmd>" (unless <cmd> matches one of the above commands).
author Holger Weiß <holger@zedat.fu-berlin.de>
date Wed, 22 Jul 2015 19:25:22 +0200
parents c7e9950fa741
children
line wrap: on
line source

bin_PROGRAMS = mcabber
mcabber_SOURCES = main.c main.h roster.c roster.h events.c events.h \
		  commands.c commands.h compl.c compl.h \
		  hbuf.c hbuf.h screen.c screen.h logprint.h \
		  settings.c settings.h hooks.c hooks.h utf8.c utf8.h \
		  histolog.c histolog.h utils.c utils.h pgp.c pgp.h \
		  xmpp.c xmpp.h xmpp_helper.c xmpp_helper.h xmpp_defines.h \
		  xmpp_iq.c xmpp_iq.h xmpp_iqrequest.c xmpp_iqrequest.h \
		  xmpp_muc.c xmpp_muc.h xmpp_s10n.c xmpp_s10n.h \
		  caps.c caps.h help.c help.h carbons.c carbons.h

if OTR
mcabber_SOURCES += otr.c otr.h nohtml.c nohtml.h
endif

LDADD = $(GLIB_LIBS) $(LOUDMOUTH_LIBS) $(GPGME_LIBS) $(LIBOTR_LIBS) \
				$(ENCHANT_LIBS) $(LIBIDN_LIBS)

AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) \
				$(GLIB_CFLAGS) $(LOUDMOUTH_CFLAGS) \
				$(GPGME_CFLAGS) $(LIBOTR_CFLAGS) \
				$(ENCHANT_CFLAGS) $(LIBIDN_CFLAGS)

CLEANFILES = hgcset.h

if HGCSET
BUILT_SOURCES = hgcset.h

hgcset.h: remake_hgcset
	$(top_srcdir)/hgcset.sh "$(top_srcdir)/mcabber" "$(top_builddir)/mcabber"

.PHONY: remake_hgcset
endif

if INSTALL_HEADERS
mcabber_SOURCES += modules.c modules.h api.h
mcabberinclude_HEADERS = main.h roster.h events.h \
			 commands.h compl.h \
			 hbuf.h screen.h logprint.h \
			 settings.h hooks.h utf8.c utf8.h \
			 histolog.h utils.h pgp.h \
			 xmpp.h xmpp_helper.h xmpp_defines.h \
			 xmpp_iq.h xmpp_iqrequest.h \
			 xmpp_muc.h xmpp_s10n.h \
			 caps.h fifo.h help.h modules.h api.h \
			 $(top_builddir)/include/config.h

if OTR
mcabberinclude_HEADERS += otr.h nohtml.h
endif

if HGCSET
mcabberinclude_HEADERS += hgcset.h
endif

mcabberincludedir = $(includedir)/mcabber
else
mcabber_SOURCES += fifo_internal.c fifo.h
endif

#SUBDIRS =