1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00
elinks/src/vernum.c
Witold Filipczyk 33e36dc1e8 [meson] added options: reproducible and source-date-epoch for reproducible builds
Usage example:
-Dreproducible=true \
-Dsource-date-epoch=$(git log -1 --pretty=%ct)
2022-03-25 14:13:03 +01:00

16 lines
299 B
C

/* Version numbers etc; always rebuilt to reflect the latest info */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "elinks.h"
#include "vernum.h"
#ifndef CONFIG_REPRODUCIBLE
const char *build_date = __DATE__;
const char *build_time = __TIME__;
#endif
const char *build_id = BUILD_ID;