autoconf/automake

Bader charge density analysis

Moderator: moderators

Post Reply
nicolasbock
Posts: 2
Joined: Tue May 28, 2013 9:10 pm

autoconf/automake

Post by nicolasbock »

Hi,

whilst trying to build bader I noticed that its makefiles could be unified using autoconf/automake. I have attached a patch against the current tar file that adds the proper scripts which replace the existing makefiles.

Thanks,

nick

P.S.: Since this board doesn't like patch suffixes, I have appended another .txt to the patch file.
Attachments
0001-Added-autoconf-automake-files.patch.txt
Patch to add autoconf/automake scripts.
(2.87 KiB) Downloaded 8606 times
chill
Posts: 96
Joined: Tue Jul 28, 2009 9:04 pm

Re: autoconf/automake

Post by chill »

Thank you very much for the patch, but as bader is a very simple program to build, I don't see how automake helps. Bader has no dependencies other than make and a fortran 90 compiler; there aren't any OS specific features to test for. However, I'd be happy to hear an argument for using automake and to be convinced otherwise.
nicolasbock
Posts: 2
Joined: Tue May 28, 2013 9:10 pm

Re: autoconf/automake

Post by nicolasbock »

Well, you could remove the makefiles directory and make the program even simpler. In addition, if you ever want to package bader for a linux distribution then having a standard build method is quite helpful.
Post Reply