blob: 89872f1b514c6d29fba33ada97ab882272ba690a (
plain)
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
|
## Process this file with automake to produce Makefile.in
SUBDIRS = tests doc
# Scripts which are bundled with all intltoolized packages:
distributed_scripts = \
intltool-extract \
intltool-merge \
intltool-update
# The intltool scripts
bin_SCRIPTS = \
$(distributed_scripts) \
intltoolize \
intltool-prepare
# These are required by intltoolize
dist_pkgdata_DATA = Makefile.in.in
# This macro file should be visible to Automake's aclocal.
dist_aclocal_DATA = intltool.m4
CLEANFILES = \
$(bin_SCRIPTS) \
$(EXTRA_SCRIPTS)
EXTRA_DIST = \
$(distributed_scripts:=.in) \
intltool-prepare.in \
NEWS \
ChangeLog
edit = sed -e 's|[@]PACKAGE@|$(PACKAGE)|g' \
-e 's|[@]VERSION@|$(VERSION)|g' \
-e "s|[@]INTLTOOL_PERL@|$(PERL)|g" \
-e "s|[@]INTLTOOL_LIBDIR@|$(libdir)|g"
%: %.in Makefile
$(edit) < $< > $@
chmod +x $@
ChangeLog:
@if test -z "$(BZR)"; then \
echo "bzr is required for generating the ChangeLog."; \
exit 1; \
elif test ! -d "$(srcdir)/.bzr"; then \
echo "ChangeLog can only be generated in a check-out."; \
exit 1; \
else \
$(BZR) log --gnu-changelog -l 50 > $@; \
fi
|