Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #5126

Closed
Open
Created Feb 14, 2012 by Linus Nordberg@linus

Makefile.am is GNU Make specific

The shell command

$(SED) -e 's,[@]PYTHON[@],$(PYTHON),' < $< > $@

expands to

    /usr/bin/sed -e 's,[@]PYTHON[@],/usr/local/bin/python,' <  > tester.py

when using BSD make.

The simple solution would be to name the single source in the shell command, like so

tester_py_SOURCES = src/test/tester.py.in tester.py: $(tester_py_SOURCES) Makefile $(SED) -e 's,[@]PYTHON[@],$(PYTHON),' < $(tester_py_SOURCES) > $@ chmod +x $@

This isn't very nice though since it'll break when more files are added to tester_py_SOURCES.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking