bug-librejs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-librejs] patch to support non-standard installs


From: Brandon Invergo
Subject: [Bug-librejs] patch to support non-standard installs
Date: Thu, 01 Nov 2012 11:56:56 +0100
User-agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-unknown-linux-gnu)

Hi,

I'm the maintainer of GSRC (GNU Source Release Collection), which uses
Makefile trickery to install GNU software from source, usually to a
non-standard location (i.e. /gnu or ~/gnu instead of /usr).

I've attached a patch for the LibreJS Makefile to better support installing
to non-standard locations through the addition of the DESTDIR, prefix
and libdir variables. 

It also replaces the calls to mkdir with install -d, for the odd occasion
in which the user is installing the plugin when the $(libdir)/mozilla
directory doesn't exist due to the user not having a Mozilla-based
browser installed yet.

I've tested this against the just-released librejs 4.9, but since it's
not really interfering with the code, I can't imagine that it will fail
on the latest repo trunk. Nevertheless, if you would prefer that I patch
against that, let me know.

Cheers,
Brandon Invergo

ps - I'm not subscribed to the list so please CC me in your response
pps - Thanks for this great plugin!



Attachment: librejs-4.9-alt_install.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]