summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-17 04:18:53 -0500
committermidipix <writeonce@midipix.org>2018-12-17 04:19:37 -0500
commit17c5b4943b73927d0ce578bf6519ac9fcc65d9a7 (patch)
tree272dc6b5a4d7d69b3c8170daaedad3eef400259d
parent38aeed89b4144aea7aa986863147fa3723351188 (diff)
downloadsbpython2-17c5b4943b73927d0ce578bf6519ac9fcc65d9a7.tar.bz2
sbpython2-17c5b4943b73927d0ce578bf6519ac9fcc65d9a7.tar.xz
pycompile: config.tag: ordering: touch target files after copying.
-rw-r--r--project/pycompile.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/project/pycompile.mk b/project/pycompile.mk
index 1e09d32..c116f85 100644
--- a/project/pycompile.mk
+++ b/project/pycompile.mk
@@ -53,9 +53,11 @@ else
$(PYCOMPILE_DIR)/config.tag:
mkdir -p $(PYCOMPILE_DIR)/build
- cp -a $(PROJECT_DIR)/config/$(CFGHOST)/config.c $(PYCOMPILE_DIR)/build/
- cp -a $(PROJECT_DIR)/config/$(CFGHOST)/pyconfig.h $(PYCOMPILE_DIR)/build/
+ cp -p $(PROJECT_DIR)/config/$(CFGHOST)/config.c $(PYCOMPILE_DIR)/build/
+ cp -p $(PROJECT_DIR)/config/$(CFGHOST)/pyconfig.h $(PYCOMPILE_DIR)/build/
touch $(PYCOMPILE_DIR)/config.tag
+ touch $(PYCOMPILE_DIR)/build/config.c
+ touch $(PYCOMPILE_DIR)/build/pyconfig.h
endif