primer3-org / primer3

Primer3 is a command line tool to select primers for polymerase chain reaction (PCR).
GNU General Public License v2.0
219 stars 63 forks source link

Makefile should provide an install target #1

Closed fxcoudert closed 5 years ago

fxcoudert commented 6 years ago

src/Makefile should provide an install target, so that users can run make install PREFIX=/path/to/install and all binaries and libraries are installed in the right place.

untergasser commented 6 years ago

Can you explain why this is required? Why not just compiling it at the place you need it?

fxcoudert commented 6 years ago

Say I want it in /usr/local (with binary in /usr/local/bin and man page in /usr/local/man/man1 etc.), I will not be compiling in that directory :)

nh13 commented 6 years ago

Folks in bioconda already patch the makefile: https://github.com/bioconda/bioconda-recipes/blob/master/recipes/primer3/makefile.patch

untergasser commented 5 years ago

Thank you for reporting this feature request. I included it in this version: https://github.com/primer3-org/primer3/commit/f382935091e1e49bcf2ce8afe8d4d034776509a1 Be aware that the primer3_config folder is not required any more - if you did not modify the default values in this folder. You must also leave out the tag PRIMER_THERMODYNAMIC_PARAMETERS_PATH to use the build in parameters.

Best, Andreas