mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
pregenerate install dirs
This commit is contained in:
parent
9ac6270216
commit
1756e5e978
@ -230,15 +230,6 @@ $[TAB] rm -f $[igatemout] $[$[igatemout]_obj]
|
|||||||
$[get_igatedb(metalib_target lib_target ss_lib_target):%=$[install_igatedb_dir]/%]
|
$[get_igatedb(metalib_target lib_target ss_lib_target):%=$[install_igatedb_dir]/%]
|
||||||
|
|
||||||
#define install_targets \
|
#define install_targets \
|
||||||
$[sort \
|
|
||||||
$[if $[install_lib],$[install_lib_dir]] \
|
|
||||||
$[if $[install_bin] $[install_scripts],$[install_bin_dir]] \
|
|
||||||
$[if $[install_headers],$[install_headers_dir]] \
|
|
||||||
$[if $[install_parser_inc],$[install_parser_inc_dir]] \
|
|
||||||
$[if $[install_data],$[install_data_dir]] \
|
|
||||||
$[if $[install_config],$[install_config_dir]] \
|
|
||||||
$[if $[install_igatedb],$[install_igatedb_dir]] \
|
|
||||||
] \
|
|
||||||
$[active_target(metalib_target lib_target static_lib_target ss_lib_target):%=install-lib%] \
|
$[active_target(metalib_target lib_target static_lib_target ss_lib_target):%=install-lib%] \
|
||||||
$[active_target(bin_target sed_bin_target):%=install-%] \
|
$[active_target(bin_target sed_bin_target):%=install-%] \
|
||||||
$[installed_files]
|
$[installed_files]
|
||||||
@ -265,10 +256,10 @@ $[TAB] rm -f $[sort $[patsubst %,%.prebuilt,$[bison_prebuilt]]]
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// We need a rule for each directory we might need to make. This
|
// Rather than making a rule to generate each install directory later,
|
||||||
// loops through the full set of directories and creates a rule to
|
// we create the directories now. This reduces problems from
|
||||||
// make each one, as needed.
|
// multiprocess builds.
|
||||||
#foreach directory $[sort \
|
#mkdir $[sort \
|
||||||
$[if $[install_lib],$[install_lib_dir]] \
|
$[if $[install_lib],$[install_lib_dir]] \
|
||||||
$[if $[install_bin] $[install_scripts],$[install_bin_dir]] \
|
$[if $[install_bin] $[install_scripts],$[install_bin_dir]] \
|
||||||
$[if $[install_headers],$[install_headers_dir]] \
|
$[if $[install_headers],$[install_headers_dir]] \
|
||||||
@ -277,13 +268,9 @@ $[TAB] rm -f $[sort $[patsubst %,%.prebuilt,$[bison_prebuilt]]]
|
|||||||
$[if $[install_config],$[install_config_dir]] \
|
$[if $[install_config],$[install_config_dir]] \
|
||||||
$[if $[install_igatedb],$[install_igatedb_dir]] \
|
$[if $[install_igatedb],$[install_igatedb_dir]] \
|
||||||
]
|
]
|
||||||
$[directory] :
|
|
||||||
$[TAB] @test -d $[directory] || echo mkdir -p $[directory]
|
|
||||||
$[TAB] @test -d $[directory] || mkdir -p $[directory]
|
|
||||||
#end directory
|
|
||||||
|
|
||||||
// We need to ensure that $[st_dir] exists. Trying to make the
|
// Similarly, we need to ensure that $[st_dir] exists. Trying to make
|
||||||
// makefiles do this automatically just causes problems with
|
// the makefiles do this automatically just causes problems with
|
||||||
// multiprocess builds.
|
// multiprocess builds.
|
||||||
#mkdir $[st_dir]
|
#mkdir $[st_dir]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user