bug-librejs
[Top][All Lists]
Advanced

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

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


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

> Thanks much for your patch! This is great! Your changes will land in the 
> next version of LibreJS.

My pleasure :)

> I haven't had much time to look into Make as much as I ought to. One of 
> the things the makefile does is to run `cfx xpi'. I remember posting 
> information on the best way to do make "activate" permanent on a 
> GNU/Linux system, but I can't find it anymore. There are instruction in 
> I've tried to figure out a way to make this a little smoother with the 
> makefile. Would you have any recommendation on how to proceed?

You know what...I started to write up a bit of an explanation of how I
would do it. Then I got distracted trying stuff. And then, well, I just
did the whole thing. :) The main point is that the user has to pass the
addon-sdk's path to either configure or Makefile as ADDON_SDK (default =
/opt/addon-sdk).

I'm attaching a tar.gz with all the files you need for a GNU Coding
Standards-compliant configure & Makefile. I used Autoconf to generate
configure, so you're also getting all those files as well. You should be
able to just drop the contents into the project directory, delete the
old Makefile, and use them.

I took it upon myself to clean up the Makefile a lot (and turn it into a
Makefile.in). It also now handles building and installing the docs. I
added the `distclean' target, but you'll need to fill in the `dist'
target. 

It works pretty cleanly for me with GSRC, so hopefully it's ok in
general. Let me know if there are any problems!

Cheers,
Brandon


Attachment: librejs-configure.tar.gz
Description: Binary data


reply via email to

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