mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make, scripts: Preserve modification time on installation
Implemented -p switch on pkg.sh log-install and used it on standard installation rules. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
378feb60ec
commit
92040c66e7
12 changed files with 34 additions and 28 deletions
|
|
@ -24,7 +24,7 @@ install.done:
|
|||
if [ -d $$f ]; then \
|
||||
$(INSTALL) -d -D -m $(TARGET_DIR_MODE) -o $(TARGET_DIR_OWNER) -g $(TARGET_DIR_GROUP) $(TARGET_DIR)/$$relpath ;\
|
||||
else \
|
||||
$(INSTALL) -D -m $(TARGET_MODE) -o $(TARGET_OWNER) -g $(TARGET_GROUP) $$f $(TARGET_DIR)/$$relpath ;\
|
||||
$(INSTALL) -p -D -m $(TARGET_MODE) -o $(TARGET_OWNER) -g $(TARGET_GROUP) $$f $(TARGET_DIR)/$$relpath ;\
|
||||
fi ;\
|
||||
done
|
||||
touch $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue