aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckinfo.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/ckinfo.h.in')
-rw-r--r--src/ckinfo.h.in23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/ckinfo.h.in b/src/ckinfo.h.in
index 3b7f843..0d101f4 100644
--- a/src/ckinfo.h.in
+++ b/src/ckinfo.h.in
@@ -1,3 +1,18 @@
+/* ckinfo.h - Compile time generated info for ck -----------------------*- C -*-
+ *
+ * This file is part of ck, the config keeper
+ *
+ * -----------------------------------------------------------------------------
+ *
+ * Copyright (C) 2018 Anastasis Grammenos
+ * GPLv3 (see LICENCE for the full notice)
+ *
+ * -----------------------------------------------------------------------------
+ *
+ * Version info, etc.
+ * Autogenerated by CMake @CMAKE_MAJOR_VERSION@.@CMAKE_MINOR_VERSION@
+ *
+ * -------------------------------------------------------------------------- */
#ifndef CK_INFO_H
#define CK_INFO_H
@@ -9,10 +24,10 @@
extern void print_version() {
printf("ck version %d.%d\n", CK_MAJOR_VERSION, CK_MINOR_VERSION);
- printf("ck Copyright (C) 2018 gramanas\n\
-This program comes with ABSOLUTELY NO WARRANTY.\n\
-This is free software, and you are welcome to redistribute it under\n\
-certain condition. See the LICENCE file in the source tree for details.\n");
+ printf("%s", "ck Copyright (C) 2018 gramanas\n"
+ "This program comes with ABSOLUTELY NO WARRANTY.\n"
+ "This is free software, and you are welcome to redistribute it under\n"
+ "certain condition. See the LICENCE file in the source tree for details.\n");
}
#endif /* CK_INFO_H */