bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] Makefile suggestions


From: Andrew Makhorin
Subject: Re: [Bug-glpk] Makefile suggestions
Date: Sun, 21 Oct 2001 15:30:52 +0300

>I'd like to make a Debian package of glpk, and for that two things
>need to be changed: make install prefix=/some/where must work, and
>make clean must delete all generated files. The former doesn't work
>because headers get installed hardwired to /usr/include, and also
>glpsol and lpbglpk.a don't get cleaned. I don't quite understand what
>the intention of "oldincludedir" is; I just removed it.

See the section "Variables for Installation Directories" in the GNU
Coding Standards at <http://www.gnu.org/prep/standards.html>, where
'oldincludedir' is explained.

>Generally, I wonder whether it wouldn't be easier to use automake,
>which has dependency tracking as an additional bonus. I have some
>experience with automake, so I could help with that.

Yes, automake would allow resolving some troubles (deleting generated
files, etc.). However before doing that I need to reorganize glpk
directory structure (maybe in the next subversion) in order to make so
called "plain" structure.

>Also, I think it would be much nicer if the glpk headers were
>installed into a subdirectory "glpk" or similar, and to let people
>include <glpk/xxxx.h>. That would help keeping the include dir small.

This, of course, wouldn't make the directory smaller :+) But I'll think
over that. Since all glpk headers are prefixed by 'glp', this doesn't
interfere with other headers. On the other hand all glpk headers really
might be installed in 'include/glpk' (probably except 'glpk.h').

Thank you for your patch. I'll try to make necessary modifications in
the next subversion of the package.






reply via email to

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