From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jude DaShiell Subject: Re: patch org-mode Makefile - solve a couple debian build problems and a slackware build problem Date: Fri, 8 Jul 2011 03:33:33 -0400 (EDT) Message-ID: References: <8739ii885d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf5ZB-0007Cx-F0 for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 03:33:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf5Z9-0003FT-Kv for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 03:33:37 -0400 Received: from shellworld.net ([69.60.117.94]:50940 helo=server1.shellworld.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf5Z9-0003FG-Cj for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 03:33:35 -0400 In-Reply-To: <8739ii885d.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org No I can't provide any patch that works with all distros. I don't have all distros available to me; not all Linux distros are accessible for screen reader users either. I use screen reading software just to use a computer and I don't have all distros even under the category of distros that are accessible yet. To use org-mode default uncomment /usr/local as prefix for all systems that put emacs stuff or some emacs stuff under /usr/local. For Slackware and Debian though, /usr/local isn't in the load-paths. The install-info part of the patch was using debian's install-info program all along and that was apparently depricated in favor of ginstall-info. That change will effect other distros into the future as they update their packages. The org-mode default would be to uncomment install-info choice but debian squeeze needs ginstall-info uncommented. There's another reason I can't provide better patches. The Makefile structure itself. I wrote code earlier which tested if [ -r /etc/debian_version ]; then and took action if that was true but putting it into the variables section of the Make file and running make caused make to freak out on me with the complaint that commands were in the variables section. Apparently Makefile structure and COBOL share some similarities and not the good ones. On Thu, 7 Jul 2011, Bastien wrote: > Hi Jude, > > I infer this patch will break most non-debian/slackware configs. > Could you provide a patch that works for *every* distro, including > debian and slackware? > > Thanks! > > Jude DaShiell writes: > > > diff -c a//Makefile b//Makefile > > *** a//Makefile 2011-07-05 21:05:08.000000000 -0400 > > --- b//Makefile 2011-07-05 21:05:21.000000000 -0400 > >