Create the parent directory before creating the target file
Fixes building with OBJDIR.
This commit is contained in:
parent
e43aadfb42
commit
2cce47a644
@ -148,6 +148,7 @@ while [ $# -gt 0 ]; do
|
|||||||
#create
|
#create
|
||||||
source="${target#$OBJDIR}"
|
source="${target#$OBJDIR}"
|
||||||
source="${source}.in"
|
source="${source}.in"
|
||||||
|
$DEBUG $MKDIR -- "${target%/*}" || exit 2
|
||||||
$DEBUG $SED -e "s;@PACKAGE@;$PACKAGE;" \
|
$DEBUG $SED -e "s;@PACKAGE@;$PACKAGE;" \
|
||||||
-e "s;@VERSION@;$VERSION;" \
|
-e "s;@VERSION@;$VERSION;" \
|
||||||
-e "s;@PREFIX@;$PREFIX;" \
|
-e "s;@PREFIX@;$PREFIX;" \
|
||||||
|
Loading…
Reference in New Issue
Block a user