mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-22 06:59:54 -05:00
Create only the directory the current target should be created into.
With this change, instead of running multiple `mkdir -p` commands in all the rules for all the generated definition files, only the call for the current generated file is executed. Not only it should shorten build time (especially for parallel make) but it also fixes out-of-tree builds when new directories are added. The $(dir $@) construct is GNU make-specific, but the rest of the buildsystem is already GNU make-dependent so there should be no problem.
This commit is contained in:
parent
5793f93350
commit
348c2cab71
1 changed files with 1 additions and 4 deletions
|
|
@ -1068,10 +1068,7 @@ EXTRA_DIST += $(SYMDEF_FILES)
|
||||||
BUILT_SOURCES += $(SYMDEF_FILES)
|
BUILT_SOURCES += $(SYMDEF_FILES)
|
||||||
|
|
||||||
$(SYMDEF_FILES): modules/module-defs.h.m4
|
$(SYMDEF_FILES): modules/module-defs.h.m4
|
||||||
$(MKDIR_P) modules
|
$(MKDIR_P) $(dir $@)
|
||||||
$(MKDIR_P) modules/gconf
|
|
||||||
$(MKDIR_P) modules/rtp
|
|
||||||
$(MKDIR_P) modules/bluetooth
|
|
||||||
$(M4) -Dfname="$@" $< > $@
|
$(M4) -Dfname="$@" $< > $@
|
||||||
|
|
||||||
# Flat volume
|
# Flat volume
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue