mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
the install command on the Mac does not take the -D argument #283
Instead of having the install command try and create the destination directory we use a second command to mkdir the directory first.
This commit is contained in:
parent
8c8c7130b4
commit
e72036f3be
4
Makefile
4
Makefile
@ -336,10 +336,12 @@ clean_gui: clean_java
|
||||
# INSTALL Targets
|
||||
################################################################################
|
||||
|
||||
PREFIX=/users/alin/temp3
|
||||
ER7_HEADERS := $(addprefix $(PREFIX)/include/, $(filter er7_utils/%, $(shell cd trick_source && find er7_utils -name \*.hh)))
|
||||
|
||||
${ER7_HEADERS} : ${PREFIX}/include/% : trick_source/%
|
||||
install -m 0644 -D $? $@
|
||||
@ mkdir -p ${@D}
|
||||
install -m 0644 $? $@
|
||||
|
||||
install: ${ER7_HEADERS}
|
||||
cp -r bin include $(notdir ${TRICK_LIB_DIR}) libexec share ${PREFIX}
|
||||
|
Loading…
Reference in New Issue
Block a user