We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df8481a commit 2f32a15Copy full SHA for 2f32a15
mk/install.mk
@@ -6,11 +6,11 @@
6
# destination directory as arg 2, and filename/libname-glob as arg 3
7
ifdef VERBOSE
8
INSTALL = install -m755 $(1)/$(3) $(2)/$(3)
9
- INSTALL_LIB = install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
+ INSTALL_LIB = install -m644 `ls -drt1 $(1)/$(3) | tail -1` $(2)/
10
else
11
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 $(1)/$(3) $(2)/$(3)
12
INSTALL_LIB = $(Q)$(call E, install_lib: $(2)/$(3)) && \
13
- install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
+ install -m644 `ls -drt1 $(1)/$(3) | tail -1` $(2)/
14
endif
15
16
# The stage we install from
0 commit comments