[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #5126 [Obfsproxy]: Makefile.am is GNU Make specific
#5126: Makefile.am is GNU Make specific
-----------------------+----------------------------------------------------
Reporter: ln5 | Owner: asn
Type: defect | Status: new
Priority: normal | Milestone:
Component: Obfsproxy | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
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.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5126>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs