summaryrefslogblamecommitdiffstats
path: root/tools/update/Makefile.in
blob: 200a2b5c6a7a31ade9f38cb7d1a42e163df177d2 (plain) (tree)




































                                                               
#
# $Id$
#
# NOTE: of course we can't use any of these tools
#   in this Makefile.  Most notably: install-if-change
#

@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH=@srcdir@

include $(RTEMS_CUSTOM)
include $(RTEMS_ROOT)/make/leaf.cfg

DESTDIR=$(PROJECT_RELEASE)/update-tools

PGMS=update word-replace
MISC_SUPPORT=310_to_320_list

INSTALL_LIST= $(PGMS) $(MISC_SUPPORT)

INSTALLED=$(INSTALL_LIST:%=$(DESTDIR)/%)

all:  $(DESTDIR)
	echo $(DESTDIR)

$(DESTDIR):
	[ -d $@ ] || $(MKDIR) $@

install:  $(INSTALLED)

# Install the program
$(DESTDIR)/%: %
	$(make-script)
	$(INSTALL)  -m 555 $(PERL_PGMS) ${DESTDIR}
	$(INSTALL)  -m 444 $(srcdir)/$(MISC_SUPPORT) ${DESTDIR}