diff --git a/Makefile.in b/Makefile.in index dd64f8029..3d58e8e6e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -17,7 +17,7 @@ run: all PIPEWIRE_CONFIG_DIR=@BUILD_ROOT@/src/daemon/ \ ACP_PATHS_DIR=@SOURCE_ROOT@/spa/plugins/alsa/mixer/paths \ ACP_PROFILES_DIR=@SOURCE_ROOT@/spa/plugins/alsa/mixer/profile-sets \ - $(DBG) @BUILD_ROOT@/src/daemon/pipewire -c pipewire-uninstalled.conf + $(DBG) @BUILD_ROOT@/src/daemon/pipewire-uninstalled run-pulse: all SPA_PLUGIN_DIR=@BUILD_ROOT@/spa/plugins \ @@ -25,7 +25,7 @@ run-pulse: all PIPEWIRE_CONFIG_DIR=@BUILD_ROOT@/src/daemon/ \ ACP_PATHS_DIR=@SOURCE_ROOT@/spa/plugins/alsa/mixer/paths \ ACP_PROFILES_DIR=@SOURCE_ROOT@/spa/plugins/alsa/mixer/profile-sets \ - $(DBG) @BUILD_ROOT@/src/daemon/pipewire-pulse -c pipewire-pulse.conf + $(DBG) @BUILD_ROOT@/src/daemon/pipewire-pulse gdb: $(MAKE) run DBG=gdb diff --git a/src/daemon/meson.build b/src/daemon/meson.build index 098eb1360..3c5f05b08 100644 --- a/src/daemon/meson.build +++ b/src/daemon/meson.build @@ -45,7 +45,7 @@ configure_file(input : 'pipewire.conf.in', output : 'pipewire-uninstalled.conf', configuration : conf_config_uninstalled) -executable('pipewire', +pipewire_exec = executable('pipewire', pipewire_daemon_sources, install: true, c_args : pipewire_c_args, @@ -61,6 +61,16 @@ executable('pipewire-pulse', dependencies : [pipewire_dep, ], ) +ln = find_program('ln') + +custom_target('pipewire-uninstalled', + build_by_default: true, + install: false, + input: pipewire_exec, + output: 'pipewire-uninstalled', + command: [ln, '-fsr', '@INPUT@', '@OUTPUT@'], +) + #desktop_file = i18n.merge_file( # input : 'pipewire.desktop.in', # output : 'pipewire.desktop',