admb-project / admb

AD Model Builder
http://admb-project.org
Other
64 stars 19 forks source link

admb is difficult to package correctly #111

Closed alexandre-janniaux closed 5 years ago

alexandre-janniaux commented 5 years ago

Hi,

I tried to make an archlinux package for admb but there is a lot of different point that makes it uneasy to package correctly. Basically I want it to be quite isolated from the rest of the system, but:

I'm ready to fix these issues, but I would like an approval from your part before to be on the same track.

johnoel commented 5 years ago

Okay, I would like to see what you recommend.

johnoel commented 5 years ago

There is a 'make install' target to choose install directory. admb-master/$ make INSTALL_DIR=/usr/local install

This install the admb distribution to /usr/local/admb and adds a soft link to the admb script /usr/local/bin/admb -> /usr/local/admb/bin/admb.

This isolates the admb distribution from the system. Let me know if this works for you.

johnoel commented 5 years ago

The dist directory has been simplified with the minimum files needed to build admb programs. This should make it easier to package for any linux distribution.

The default is now 'dist' instead of 'all'

$ make

$ ls build/dist

CHANGES.txt README.txt admb include LICENSE.txt VERSION bin lib