diff options
author | Thomas White <taw@physics.org> | 2020-07-29 15:44:02 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 42898f7d59e215434fa2aead84223f64b30fcee8 (patch) | |
tree | 5cdfb4c0c279c766efcbbc6c455ee58a5c8741f1 /src/render_hkl.c | |
parent | 6105a7797b96418d940ced7d88c6cf2b308b9711 (diff) |
New way of injecting version information
Also, this fixes some incorrect headers and adds --version flags to
programs which didn't yet have them.
Diffstat (limited to 'src/render_hkl.c')
-rw-r--r-- | src/render_hkl.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c index f2ffa211..3f539cb2 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -45,13 +45,15 @@ #include <gsl/gsl_linalg.h> #include <gsl/gsl_blas.h> -#include "utils.h" -#include "symmetry.h" -#include "colscale.h" +#include <utils.h> +#include <symmetry.h> +#include <colscale.h> +#include <reflist.h> +#include <reflist-utils.h> +#include <cell-utils.h> + #include "render_hkl.h" -#include "reflist.h" -#include "reflist-utils.h" -#include "cell-utils.h" +#include "version.h" #define KEY_FILENAME "key.pdf" @@ -811,8 +813,10 @@ int main(int argc, char *argv[]) return 0; case 5 : - printf("CrystFEL: " CRYSTFEL_VERSIONSTRING "\n"); - printf(CRYSTFEL_BOILERPLATE"\n"); + printf("CrystFEL: %s\n", + crystfel_version_string()); + printf("%s\n", + crystfel_licence_string()); return 0; case 'p' : |