Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t @ e doesn't work with GNU Make 4.1+dbg1.1 #21

Closed
liugang opened this issue Jul 16, 2015 · 2 comments
Closed

t @ e doesn't work with GNU Make 4.1+dbg1.1 #21

liugang opened this issue Jul 16, 2015 · 2 comments

Comments

@liugang
Copy link

liugang commented Jul 16, 2015

t @ e doesn't work (doesn't expand the variables) with GNU Make 4.1+dbg1.1, but it works fine with GNU Make 3.82+dbg0.9

cat Makefile1.mk

FOO := foo

all:
    @echo $(FOO)

remake -X -f Makefile1.mk

GNU Make 4.1+dbg1.1
Built for x86_64-unknown-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
Copyright (C) 2015 Rocky Bernstein.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
-> (/home/galen_liu/remake_test/Makefile1.mk:3)
Will update target:all: 
remake<0> l
/home/galen_liu/remake_test/Makefile1.mk:3
Target: all:
#  recipe to execute (from 'Makefile1.mk', line 4):
    @echo $(FOO)
remake<1> t @ e

Target: all:
#  recipe to execute (from 'Makefile1.mk', line 4):
    @echo $(FOO)
remake<2> remake: That's all, folks...

remake -X -f Makefile1.mk

GNU Make 3.82+dbg0.9
Built for x86_64-unknown-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating makefiles....
Updating goal targets....
-> (/home/galen_liu/remake_test/Makefile1.mk:3)
Will update target:all: 
remake<0> l
/home/galen_liu/remake_test/Makefile1.mk:3
Target: all:
#  commands to execute (from `Makefile1.mk', line 4):
    @echo $(FOO)

remake<1> t @ e

Target: all:
#  commands to execute (from `Makefile1.mk', line 4):
    @echo foo
rocky added a commit that referenced this issue Jul 16, 2015
@rocky
Copy link
Owner

rocky commented Jul 16, 2015

Should be fixed now with commit [95bd713]

@liugang
Copy link
Author

liugang commented Jul 17, 2015

Should be fixed now with commit [95bd713]

OK, it fixed, now. Thanks.

@liugang liugang closed this as completed Jul 17, 2015
yarikoptic added a commit that referenced this issue Oct 15, 2017
* commit '1f7602b54d707d971245a2aea08e86715911dbf1^':
  Reinstate manpage. Document --target option
  Add install from source instructions and...
  Try using travis container architecture
  One more target comment
  Save and show breakoint mask
  Remove remnant of future REMAKEFLAGS
  Remove stray debug print
  Proof of concept for issue #25. It does this by setting MAKEFILE rather than REMAKEFILE though.
  Set long name in options string for -X or --debugger
  Can't support -X=... form. So split out into -X (--debugger) and --debugger-stop.
  In parsing options to set MAKEFLAGS, don't treat -X as short option. Github issue #22
  debugger quit command was not leaving recursive make. Issue #24
  Initialize global_argv; github issue #23
  Fix expand option of debugger "target" command Github issue #21
  GNU Make bug in enumeration values?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants