summaryrefslogtreecommitdiffstats
path: root/tools/update/Makefile.am
blob: 6277439559d9383e51971b2629253fbb89a4c3d4 (plain) (blame)
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
##
## $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/host.am