[DTrace-devel] [PATCH 8/9] build: make dtrace and dtprobed relocatable

Nick Alcock nick.alcock at oracle.com
Fri May 31 19:46:53 UTC 2024


On 31 May 2024, Nick Alcock via DTrace-devel outgrape:

> +install::
> +	mkdir -p $(INSTSBINDIR)
> +	$(call describe-install-target,$(INSTSBINDIR),dtprobed)
> +	install -m 755 $(objdir)/dtprobed $(INSTSBINDIR)
> +	mkdir -p $(INSTUDEVDIR)
> +	$(call describe-install-target,$(INSTUDEVDIR),60-dtprobed.rules)
> +	install -m 644 $(dtprobed_DIR)60-dtprobed.rules $(INSTUDEVDIR)
> +	if [[ "$(SYSTEMDUNITDIR)" = /usr/lib/systemd/system ]] || \
> +           [[ "$(SYSTEMDUNITDIR)" = /usr/local/lib/systemd/system ]] || \
> +           [[ -n "$(filter SYSTEMDUNITDIR,$(CONFIGURED_VARS))" ]] ; then \
> +		$(MAKE) install-dtprobed-autostart; \

Ugh, this is tabdamaged, and even though this doesn't matter inside a
\'ed recipe, I've pushed a fixed version to nix/relocatable.

Sorry about that.

-- 
NULL && (void)



More information about the DTrace-devel mailing list