-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
54 lines (42 loc) · 1.66 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
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = m4 doc replace sigscheme uim scm test test2 \
gtk2 gtk3 qt3 qt4 qt5 notify
SUBDIRS += xim fep emacs po pixmaps examples tables byeoru-data
EXTRA_DIST = RELNOTE ChangeLog.old ChangeLog.old.2 autogen.sh make-dist.sh \
uim.pc.in uim.desktop \
intltool-extract.in intltool-merge.in intltool-update.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = uim.pc
desktopdir = $(datadir)/applications
desktop_in_files = uim.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
DIST_NAME = $(PACKAGE)-$(VERSION)
#RELEASE_TAG = master
RELEASE_TAG = $(DIST_NAME)
DIST_SUM_LIST = $(DIST_NAME).sum
DISTCLEANFILES = uim.pc uim.desktop \
intltool-extract intltool-merge intltool-update \
gnuify-changelog.pl $(DIST_SUM_LIST)
MAINTAINERCLEANFILES = \
aclocal.m4 ltmain.sh depcomp missing install-sh \
intltool-extract.in intltool-merge.in intltool-update.in
.PHONY: FORCE sum
FORCE:
ChangeLog: FORCE
git log uim-1.8.0-alpha^.. > $@
@if test -s $@; then \
echo "ChangeLog updated successfully."; \
else \
echo "ChangeLog: Failed to update ChangeLog."; \
$(RM) -f $@; \
false; \
fi
sum:
$(MD5) $(DIST_ARCHIVES) | $(SED) 's/^/MD5: /' >$(DIST_SUM_LIST)
$(SHA1) $(DIST_ARCHIVES) | $(SED) 's/^/SHA1: /' >>$(DIST_SUM_LIST)
distclean-local:
if test '$(top_srcdir)' != '$(top_builddir)'; then \
rm -f ChangeLog; \
fi