summaryrefslogtreecommitdiffstats
path: root/tools/update/Makefile.am
blob: 05a1bf959e6fba9a09504e1059a89181750e498d (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
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
## NOTE: It doesn't make much sense to install these files

CLEANFILES = update word-replace

if PERL
# All files in this directory depend on having perl.
# Do not handle them if perl is missing.

noinst_SCRIPTS = \
acpolish \
ampolish \
cipolish \
rtems-polish.sh \
word-replace \
update

noinst_DATA = \
310_to_320_list

update: $(srcdir)/update.in $(top_builddir)/config.status
	@cd $(top_builddir) \
	 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status; \
	chmod 755 $@
	
word-replace: $(srcdir)/word-replace.in $(top_builddir)/config.status
	@cd $(top_builddir) \
	 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status; \
	chmod 755 $@

endif

EXTRA_DIST = \
310_to_320_list \
update.in \
word-replace.in \
acpolish \
ampolish \
cipolish \
rtems-polish.sh

include $(top_srcdir)/../../automake/local.am