source: rtems/c/build-tools/Makefile.am @ 0e99ecfc

4.104.114.84.95
Last change on this file since 0e99ecfc was 0e99ecfc, checked in by Joel Sherrill <joel.sherrill@…>, on 06/02/99 at 16:34:54

Patch from Ralf Corsepius <corsepiu@…>:

This patch fixes a nasty problem with build-tools/Makefile.am:

When using install-sh instead of /usr/bin/install, only the first file
gets installed during the preinstall stage.

  • Property mode set to 100644
File size: 863 bytes
Line 
1#
2# $Id$
3#
4
5AUTOMAKE_OPTIONS = foreign
6ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
7
8bin_PROGRAMS=cklength eolstrip packhex unhex
9
10cklength_SOURCES = cklength.c
11eolstrip_SOURCES = eolstrip.c
12packhex_SOURCES  = packhex.c
13unhex_SOURCES    = unhex.c
14
15bin_SCRIPTS=\
16install-if-change \
17lock-directory \
18unlock-directory \
19rcs-clean
20
21noinst_SCRIPTS = search-id.sh
22
23#
24# HACK: Install to build directory
25#
26install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS)
27        if test -n "${RTEMS_BSP}"; then \
28          $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
29          for i in $(bin_SCRIPTS); do \
30          $(INSTALL_SCRIPT) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
31          done; \
32          for i in $(bin_PROGRAMS); do \
33          $(INSTALL_PROGRAM) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
34          done; \
35        fi
36
37preinstall: install-exec-local
38
39include $(top_srcdir)/../../automake/local.am
Note: See TracBrowser for help on using the repository browser.