blob: 55ef7adf45f34a53d571b37fe2452282c4886427 (
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
|
## 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
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 $@
|