Re: [PATCH 1/2] */Makefile.am: Simplify ln -sr calls

Thomas Uhle <thomas.uhle-cl+VPiYnx/[email protected]> Thu, 28 May 2026 13:34:08 +0200
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
On Thu, 28 May 2026, Doron Behar wrote:

> [...]
>
> -	cd $(DESTDIR)/$(bindir); \
> -	    ln -sr $(DESTDIR)/$(setupdir)/lirc-setup
> -	rm -rf $(DESTDIR)/$(setupdir)/configs
> -	cd $(DESTDIR)/$(setupdir); \
> -	    ln -sr $(DESTDIR)/$(pkgdatadir)/configs
> +	ln -sr \
> +	    $(DESTDIR)/$(setupdir)/lirc-setup \
> +	    $(DESTDIR)/$(bindir)/lirc-setup
> +	ln -sr \
> +	    $(DESTDIR)/$(pkgdatadir)/configs \
> +	    $(DESTDIR)/$(setupdir)/configs

I don't know if it's wise to also remove this line:

 	rm -rf $(DESTDIR)/$(setupdir)/configs

It might have been there for a reason.

Best regards,

Thomas Uhle