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

* Makefile.am: Add preinstallation dirstamp support.
This commit is contained in:
Ralf Corsepius
2003-12-03 06:46:52 +00:00
parent 5573dc0b51
commit f9f75eda93
2 changed files with 15 additions and 0 deletions
+4
View File
@@ -1,3 +1,7 @@
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add preinstallation dirstamp support.
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in comm/Makefile.am, irq/Makefile.am
+11
View File
@@ -9,4 +9,15 @@ EXTRA_DIST = comm/console.c comm/uart.c
# irq
EXTRA_DIST += irq/irq_asm.S irq/irq_init.c
PREINSTALL_FILES =
$(PROJECT_INCLUDE)/$(dirstamp):
@$(mkinstalldirs) $(PROJECT_INCLUDE)
@: > $(PROJECT_INCLUDE)/$(dirstamp)
PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
$(PROJECT_INCLUDE)/uart.h: comm/uart.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/uart.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/uart.h
include $(top_srcdir)/../../../automake/local.am