forked from legoscia/emacs-jabber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
71 lines (61 loc) · 3.12 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
ACLOCAL_AMFLAGS = -I m4
# The following line needs to be here since automake 1.4 doesn't look
# for options in configure.ac.
AUTOMAKE_OPTIONS = 1.11
my_lisp_sources=jabber-activity.el jabber-ahc-presence.el \
jabber-ahc.el jabber-alert.el jabber-autoaway.el jabber-avatar.el \
jabber-awesome.el jabber-ping.el jabber-libnotify.el jabber-console.el \
jabber-notifications.el \
jabber-bookmarks.el jabber-browse.el jabber-chat.el \
jabber-chatbuffer.el jabber-chatstates.el jabber-compose.el \
jabber-conn.el jabber-core.el jabber-disco.el jabber-events.el \
jabber-export.el jabber-feature-neg.el jabber-festival.el \
jabber-ft-client.el jabber-ft-common.el jabber-ft-server.el \
jabber-gmail.el jabber-history.el jabber-iq.el jabber-keepalive.el \
jabber-keymap.el jabber-logon.el jabber-menu.el jabber-modeline.el \
jabber-muc-nick-completion.el jabber-muc.el jabber-rtt.el \
jabber-osd.el jabber-presence.el jabber-private.el jabber-ratpoison.el \
jabber-register.el jabber-roster.el jabber-sasl.el jabber-sawfish.el \
jabber-screen.el jabber-search.el jabber-si-client.el \
jabber-si-common.el jabber-si-server.el jabber-socks5.el \
jabber-time.el jabber-truncate.el jabber-util.el \
jabber-vcard-avatars.el jabber-vcard.el jabber-version.el \
jabber-watch.el jabber-widget.el jabber-wmii.el jabber-xmessage.el \
jabber-muc-nick-coloring.el \
jabber-xml.el jabber.el srv.el jabber-tmux.el jabber-ourversion.el
compat_lisp_sources = jabber-fallback-lib/hexrgb.el jabber-fallback-lib/fsm.el
dist_lisp_LISP=$(my_lisp_sources) $(compat_lisp_sources) jabber-autoloads.el
MAINTAINERCLEANFILES=jabber-autoloads.el
EXTRA_DIST = jabber-pkg.el.in
# The autoload file will cause Lisp sources to be rebuilt _twice_: the
# timestamp of the Lisp compilation is set _before_ the autoloads are
# regenerated, which means that jabber-autoload.el is once again
# considered new, which means that everything will be built again.
# Suggestions welcome.
#
# Emacs 21 requires that the file already exist and have non-zero
# size, so we touch it with ancient timestamp.
jabber-autoloads.el: $(my_lisp_sources)
test -s $@ || cp -f $(srcdir)/jabber-autoloads.stub $@; touch -t 197001030000 $@
$(EMACS) --batch --eval "(setq generated-autoload-file \"$(abs_builddir)/$@\")" -f batch-update-autoloads $(srcdir)
info_TEXINFOS=jabber.texi
dist_libexec_SCRIPTS = emacs-jabber-uri-handler
SUBDIRS = . tests
if USE_GCONFTOOL
if GCONF_SCHEMAS_INSTALL
SUBDIRS += gconf
endif
endif
# Package everything in a form suitable for ELPA. That is, use
# "jabber" instead of "emacs-jabber" as base name.
CLEANFILES = jabber-pkg.el
elpa: dist
rm -rf emacs-jabber-$(PACKAGE_VERSION) jabber-$(PACKAGE_VERSION)
$(AMTAR) xzf emacs-jabber-$(PACKAGE_VERSION).tar.gz
mv emacs-jabber-$(PACKAGE_VERSION) jabber-$(PACKAGE_VERSION)
rm -rf jabber-$(PACKAGE_VERSION)/tests
cd jabber-$(PACKAGE_VERSION) ; install-info jabber.info dir
sed "s/@""PACKAGE_VERSION@""/$(PACKAGE_VERSION)/" < $(srcdir)/jabber-pkg.el.in > jabber-$(PACKAGE_VERSION)/jabber-pkg.el
$(AMTAR) chf jabber-$(PACKAGE_VERSION).tar jabber-$(PACKAGE_VERSION)
rm -rf jabber-$(PACKAGE_VERSION)
@echo "Created jabber-$(PACKAGE_VERSION).tar"