2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
	Use include_HEADERS.
This commit is contained in:
Ralf Corsepius
2003-12-12 16:10:30 +00:00
parent b0805d809a
commit 858896337e
2 changed files with 17 additions and 12 deletions

View File

@@ -1,3 +1,8 @@
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
Use include_HEADERS.
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.

View File

@@ -4,22 +4,22 @@
ACLOCAL_AMFLAGS = -I ../aclocal
project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@
include_HEADERS = include/tmacros.h include/buffer_test_io.h
noinst_HEADERS = include/tmacros.h include/buffer_test_io.h
all-local: $(PREINSTALL_FILES)
TMPINSTALLFILES = $(project_bspdir)/lib/include \
$(project_bspdir)/lib/include/tmacros.h \
$(project_bspdir)/lib/include/buffer_test_io.h
PREINSTALL_FILES =
$(project_bspdir)/lib/include:
$(mkinstalldirs) $@
$(project_bspdir)/lib/include/%.h: include/%.h
$(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/$(dirstamp):
@$(mkdir_p) $(PROJECT_INCLUDE)
@: > $(PROJECT_INCLUDE)/$(dirstamp)
CLEANFILES = $(project_bspdir)/lib/include/tmacros.h \
$(project_bspdir)/lib/include/buffer_test_io.h
$(PROJECT_INCLUDE)/tmacros.h: include/tmacros.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tmacros.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/tmacros.h
all-local: $(TMPINSTALLFILES)
$(PROJECT_INCLUDE)/buffer_test_io.h: include/buffer_test_io.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/buffer_test_io.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/buffer_test_io.h
include $(top_srcdir)/../automake/local.am