From c4b79766dd3dee33f8b7802105a40b8599463390 Mon Sep 17 00:00:00 2001 From: Nicholas Malaya Date: Mon, 6 Feb 2012 22:52:08 +0000 Subject: [PATCH] [cantera]: only cp if header has been updated --- Cantera/cxx/src/Makefile.am | 2 +- Cantera/src/converters/Makefile.am | 2 +- Cantera/src/equil/Makefile.am | 2 +- Cantera/src/kinetics/Makefile.am | 2 +- Cantera/src/numerics/Makefile.am | 2 +- Cantera/src/oneD/Makefile.am | 2 +- Cantera/src/spectra/Makefile.am | 2 +- Cantera/src/thermo/Makefile.am | 2 +- Cantera/src/transport/Makefile.am | 2 +- Cantera/src/zeroD/Makefile.am | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cantera/cxx/src/Makefile.am b/Cantera/cxx/src/Makefile.am index 160270155..a01693752 100644 --- a/Cantera/cxx/src/Makefile.am +++ b/Cantera/cxx/src/Makefile.am @@ -17,6 +17,6 @@ __top_builddir__build_lib_libctcxx_la_SOURCES = $(cc_sources) $(h_sources) # header file accumulation all: @echo copying headers $< - cp ../include/*.h $(top_builddir)/build/include/ + cp -u ../include/*.h $(top_builddir)/build/include/ CLEANFILES = *.o diff --git a/Cantera/src/converters/Makefile.am b/Cantera/src/converters/Makefile.am index 20cf4ad2a..61c96b495 100644 --- a/Cantera/src/converters/Makefile.am +++ b/Cantera/src/converters/Makefile.am @@ -22,4 +22,4 @@ __top_builddir__build_lib_libconverters_la_SOURCES = $(cc_sources) $(h_sour # header file accumulation all: @echo copying headers $< - cp $(h_sources) $(top_builddir)/build/include/ + cp -u $(h_sources) $(top_builddir)/build/include/ diff --git a/Cantera/src/equil/Makefile.am b/Cantera/src/equil/Makefile.am index 216349f2e..3ccb35403 100644 --- a/Cantera/src/equil/Makefile.am +++ b/Cantera/src/equil/Makefile.am @@ -21,4 +21,4 @@ __top_builddir__build_lib_libequil_la_SOURCES = $(cc_sources) $(h_sources) # header file accumulation all: @echo copying headers $< - cp $(h_sources) $(top_builddir)/build/include/ + cp -u $(h_sources) $(top_builddir)/build/include/ diff --git a/Cantera/src/kinetics/Makefile.am b/Cantera/src/kinetics/Makefile.am index 19162e95c..584698c66 100644 --- a/Cantera/src/kinetics/Makefile.am +++ b/Cantera/src/kinetics/Makefile.am @@ -28,4 +28,4 @@ __top_builddir__build_lib_libkinetics_la_SOURCES = $(cc_sources) $(h_source # header file accumulation all: @echo copying headers $< - cp $(h_sources) $(top_builddir)/build/include/ + cp -u $(h_sources) $(top_builddir)/build/include/ diff --git a/Cantera/src/numerics/Makefile.am b/Cantera/src/numerics/Makefile.am index 590476bf4..72e695cb6 100644 --- a/Cantera/src/numerics/Makefile.am +++ b/Cantera/src/numerics/Makefile.am @@ -24,4 +24,4 @@ __top_builddir__build_lib_libctnumerics_la_SOURCES = $(cc_sources) $(h_sour # header file accumulation all: @echo copying headers $< - cp *.h $(top_builddir)/build/include/ + cp -u *.h $(top_builddir)/build/include/ diff --git a/Cantera/src/oneD/Makefile.am b/Cantera/src/oneD/Makefile.am index 5605312be..56affcb29 100644 --- a/Cantera/src/oneD/Makefile.am +++ b/Cantera/src/oneD/Makefile.am @@ -22,4 +22,4 @@ __top_builddir__build_lib_liboneD_la_SOURCES = $(cc_sources) $(h_sources) # header file accumulation all: @echo copying headers $< - cp $(h_sources) $(top_builddir)/build/include/ + cp -u $(h_sources) $(top_builddir)/build/include/ diff --git a/Cantera/src/spectra/Makefile.am b/Cantera/src/spectra/Makefile.am index 6e7d137e3..ac44f411c 100644 --- a/Cantera/src/spectra/Makefile.am +++ b/Cantera/src/spectra/Makefile.am @@ -20,4 +20,4 @@ __top_builddir__build_lib_libctspectra_la_SOURCES = $(cc_sources) $(h_sourc # header file accumulation all: @echo copying headers $< - cp $(h_sources) $(top_builddir)/build/include/ + cp -u $(h_sources) $(top_builddir)/build/include/ diff --git a/Cantera/src/thermo/Makefile.am b/Cantera/src/thermo/Makefile.am index 50dbcc7ad..f99a50758 100644 --- a/Cantera/src/thermo/Makefile.am +++ b/Cantera/src/thermo/Makefile.am @@ -59,4 +59,4 @@ __top_builddir__build_lib_libthermo_la_SOURCES = $(cc_sources) $(h_sources) # header file accumulation all: @echo copying headers $< - cp *.h $(top_builddir)/build/include/ + cp -u *.h $(top_builddir)/build/include/ diff --git a/Cantera/src/transport/Makefile.am b/Cantera/src/transport/Makefile.am index 8796fd9cf..1a5210daa 100644 --- a/Cantera/src/transport/Makefile.am +++ b/Cantera/src/transport/Makefile.am @@ -27,4 +27,4 @@ __top_builddir__build_lib_libtransport_la_SOURCES = $(cc_sources) $(h_sourc # header file accumulation all: @echo copying headers $< - cp *.h $(top_builddir)/build/include/ + cp -u *.h $(top_builddir)/build/include/ diff --git a/Cantera/src/zeroD/Makefile.am b/Cantera/src/zeroD/Makefile.am index b7bc6d392..670de7274 100644 --- a/Cantera/src/zeroD/Makefile.am +++ b/Cantera/src/zeroD/Makefile.am @@ -22,4 +22,4 @@ __top_builddir__build_lib_libzeroD_la_SOURCES = $(cc_sources) $(h_sources) # header file accumulation all: @echo copying headers $< - cp $(h_sources) $(top_builddir)/build/include/ + cp -u $(h_sources) $(top_builddir)/build/include/