Create the parent directory before creating the target file
Fixes building with OBJDIR.
This commit is contained in:
parent
3e495db844
commit
fd3e628984
@ -112,6 +112,8 @@ _subst()
|
||||
#create
|
||||
source="${target#$OBJDIR}"
|
||||
source="${source}.in"
|
||||
([ -z "$OBJDIR" ] || $DEBUG $MKDIR -- "${target%/*}") \
|
||||
|| return 2
|
||||
$DEBUG $SED -e "s;@PACKAGE@;$PACKAGE;g" \
|
||||
-e "s;@VERSION@;$VERSION;g" \
|
||||
-e "s;@PREFIX@;$PREFIX;g" \
|
||||
|
Loading…
Reference in New Issue
Block a user