diff options
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/Makefile.am | 9 | ||||
-rw-r--r-- | libcrystfel/src/stream.c | 3 |
2 files changed, 7 insertions, 5 deletions
diff --git a/libcrystfel/Makefile.am b/libcrystfel/Makefile.am index 7d028b20..318dcd24 100644 --- a/libcrystfel/Makefile.am +++ b/libcrystfel/Makefile.am @@ -18,10 +18,11 @@ endif libcrystfel_la_includedir=$(includedir)/crystfel/ -libcrystfel_la_include_HEADERS = src/beam-parameters.h src/hdf5-file.h \ - src/reflist.h src/symmetry.h src/cell.h \ - src/reflist-utils.h src/thread-pool.h \ - src/statistics.h src/utils.h src/detector.h \ +libcrystfel_la_include_HEADERS = ${top_srcdir}/version.h src/beam-parameters.h \ + src/hdf5-file.h src/reflist.h src/symmetry.h \ + src/cell.h src/reflist-utils.h \ + src/thread-pool.h src/statistics.h \ + src/utils.h src/detector.h \ src/geometry.h src/peaks.h src/stream.h \ src/render.h src/index.h src/image.h \ src/filters.h src/dirax.h src/mosflm.h \ diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 4470d098..34c14573 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -42,6 +42,7 @@ #include <sys/stat.h> #include <fcntl.h> +#include "version.h" #include "cell.h" #include "cell-utils.h" #include "utils.h" @@ -821,7 +822,7 @@ Stream *open_stream_fd_for_write(int fd) fprintf(st->fh, "CrystFEL stream format %i.%i\n", st->major_version, st->minor_version); - + fprintf(st->fh, "Generated by CrystFEL "CRYSTFEL_VERSIONSTRING"\n"); return st; } |