+1998-12-22 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * depend2.am: Don't assume backslash can't occur in the middle of
+ filename; it loses on M$W
+
1998-12-21 Tom Tromey <tromey@cygnus.com>
* automake.in (handle_libraries): Reverted Thomas Tanner's
* all-local ends up as dependency of all-am twice
+* foo=bar
+ if cond
+ foo += joe
+ endif
+ ... this ought to work. The fix is probably complicated
+
* `distcheck' and `dist' should depend on `all'
* Document why putting @FOO@ in _SOURCES doesn't work.
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
@-cp .deps/$(*F).pp .deps/$(*F).P; \
- tr '\\ ' '\n\n' < .deps/$(*F).pp \
+ tr ' ' '\n' < .deps/$(*F).pp \
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
- | sed -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm .deps/$(*F).pp
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
< .deps/$(*F).pp > .deps/$(*F).P; \
## See above to understand deleted header file trick.
- tr '\\ ' '\n\n' < .deps/$(*F).pp \
+ tr ' ' '\n' < .deps/$(*F).pp \
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
- | sed -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm -f .deps/$(*F).pp
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
@-cp .deps/$(*F).pp .deps/$(*F).P; \
- tr '\\ ' '\n\n' < .deps/$(*F).pp \
+ tr ' ' '\n' < .deps/$(*F).pp \
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
- | sed -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm .deps/$(*F).pp
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
< .deps/$(*F).pp > .deps/$(*F).P; \
## See above to understand deleted header file trick.
- tr '\\ ' '\n\n' < .deps/$(*F).pp \
+ tr ' ' '\n' < .deps/$(*F).pp \
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
- | sed -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm -f .deps/$(*F).pp