diff --git a/Makefile b/Makefile index a8b5e8b..ce02cbb 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,7 @@ arp-request: arp-request.o ethermess: ethermess.py # I'm not sure you can make this work 100% with traditional make - #$(SED) "2s/__LIBEXECDIR__/'`printf "%s" "$(LIBEXECDIR)" | sed "s,\\\\\\\\,\\\\\\\\\\\\\\\\,g;s,/,\\\\\\\\/,g;s,"'"'",\\\\\\\\"'"'",g"`'/" < $< > $@ - $(SED) "2s/__LIBEXECDIR__/'.'/" < $< > $@ #debg + $(SED) "2s/__LIBEXECDIR__/'`printf "%s" "$(LIBEXECDIR)" | sed "s,\\\\\\\\,\\\\\\\\\\\\\\\\,g;s,/,\\\\\\\\/,g;s,"'"'",\\\\\\\\"'"'",g"`'/" < $< > $@ chmod +x $@ ethermess-backend: ethermess-backend.o diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..eeda9a3 --- /dev/null +++ b/test.sh @@ -0,0 +1,4 @@ +#!/bin/sh +sudo true && +LIBEXECDIR=. make && +./ethermess "$@"