summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-07-23 22:39:38 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-07-23 22:39:38 -0700
commit68e72f7fb9c53ddba3e62315bb5b8d7a59a9579f (patch)
tree3739fb8185130c2b3822a7e7630233a960b17e5e /ChangeLog
parentb2a47642713286c195d2e4fd27b67019a0cba411 (diff)
downloadtxr-68e72f7fb9c53ddba3e62315bb5b8d7a59a9579f.tar.gz
txr-68e72f7fb9c53ddba3e62315bb5b8d7a59a9579f.tar.bz2
txr-68e72f7fb9c53ddba3e62315bb5b8d7a59a9579f.zip
Set up blank top_srcdir if building in source directory.
This means short, relative names are used for C source files when compiling in the source directory. * Makefile (CFLAGS): Exclude -iquote $(top_srcdir) arguments if top_srcdir is blank. Remove slash after $(top_srcdir), since the variable includes it now, if its value is not blank. (SRCS, ABBREV, opt/%-win.o, lex.yy.c, y.tab.c, install): Remove slash after $(top_srcdir). (dbg/%.o, opt/%.o): Only include rules for depending on $(top_srcdir)%.c prerequisite if top_srcdir is not blank. In the blank case, the rules are redundant. * configure: if configuring in the root of the source tree, establish top_srcdir as blank, otherwise establish is as an absolute path with a trailing slash.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 605b65c1..78d5637a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,25 @@
2015-07-23 Kaz Kylheku <kaz@kylheku.com>
+ Set up blank top_srcdir if building in source directory.
+
+ This means short, relative names are used for C source files when
+ compiling in the source directory.
+
+ * Makefile (CFLAGS): Exclude -iquote $(top_srcdir) arguments
+ if top_srcdir is blank. Remove slash after $(top_srcdir),
+ since the variable includes it now, if its value is not blank.
+ (SRCS, ABBREV, opt/%-win.o, lex.yy.c, y.tab.c, install): Remove slash
+ after $(top_srcdir).
+ (dbg/%.o, opt/%.o): Only include rules for depending
+ on $(top_srcdir)%.c prerequisite if top_srcdir is not blank.
+ In the blank case, the rules are redundant.
+
+ * configure: if configuring in the root of the source tree,
+ establish top_srcdir as blank, otherwise establish is as
+ an absolute path with a trailing slash.
+
+2015-07-23 Kaz Kylheku <kaz@kylheku.com>
+
Split off test macros from ifa.tl into common file.
* Makefile (TESTS_OUT): Don't use find to hunt down tests;