Permalink
Browse files

Make it easier for developers to understand where the .c files come f…

…rom.

Less confusion if things are explained a bit further.
  • Loading branch information...
1 parent 026bcde commit ece0df753f68bd4c379217aa59f8bbc819ec803c @JoesCat JoesCat committed Sep 8, 2012
Showing with 24 additions and 8 deletions.
  1. +12 −4 fontforge/exelibstamp.pre
  2. +12 −4 fontforge/libstamp.pre
View
16 fontforge/exelibstamp.pre
@@ -1,13 +1,21 @@
+/* exelibstamp.pre will be copied and modified to exelibstamp.c when you run make.
+ * make will modify REPLACE_ME_WITH_MAJOR_VERSION with Makefile.in FF_VERSION,
+ * and modify REPLACE_ME_WITH_MINOR_VERSION with Makefile.in FF_REVISION
+ *
+ * If you need to modify this file, edit the .pre version since the .c version will
+ * be overwritten during the next make process.
+ */
+
#include "fontforge.h"
#include "baseviews.h"
-#include "libffstamp.h"
+#include "libffstamp.h" /* FontForge version# date time stamps */
struct library_version_configuration exe_library_version_configuration = {
REPLACE_ME_WITH_MAJOR_VERSION,
REPLACE_ME_WITH_MINOR_VERSION,
- LibFF_ModTime,
- LibFF_ModTime_Str,
- LibFF_VersionDate,
+ LibFF_ModTime, /* Seconds since 1970 (standard unix time) */
+ LibFF_ModTime_Str, /* Version date (in char string format) */
+ LibFF_VersionDate, /* Version as long value, Year, month, day */
sizeof(struct library_version_configuration),
sizeof(struct splinefont),
sizeof(struct splinechar),
View
16 fontforge/libstamp.pre
@@ -1,14 +1,22 @@
+/* libstamp.pre will be copied and modified to libstamp.c when you run make.
+ * make will modify REPLACE_ME_WITH_MAJOR_VERSION with Makefile.in FF_VERSION,
+ * and modify REPLACE_ME_WITH_MINOR_VERSION with Makefile.in FF_REVISION
+ *
+ * If you need to modify this file, edit the .pre version since the .c version will
+ * be overwritten during the next make process.
+ */
+
#include "fontforge.h"
#include "baseviews.h"
-#include "libffstamp.h"
+#include "libffstamp.h" /* FontForge version# date time stamps */
#include "uiinterface.h"
struct library_version_configuration library_version_configuration = {
REPLACE_ME_WITH_MAJOR_VERSION,
REPLACE_ME_WITH_MINOR_VERSION,
- LibFF_ModTime,
- LibFF_ModTime_Str,
- LibFF_VersionDate,
+ LibFF_ModTime, /* Seconds since 1970 (standard unix time) */
+ LibFF_ModTime_Str, /* Version date (in char string format) */
+ LibFF_VersionDate, /* Version as long value, Year, month, day */
sizeof(struct library_version_configuration),
sizeof(struct splinefont),
sizeof(struct splinechar),

0 comments on commit ece0df7

Please sign in to comment.