Revision cdbbb5b7

View differences:

Makefile
2 2
TEST = mininet/test/*.py
3 3
EXAMPLES = mininet/examples/*.py
4 4
MN = bin/mn
5
PYMN = python -B bin/mn
5 6
BIN = $(MN)
6 7
PYSRC = $(MININET) $(TEST) $(EXAMPLES) $(BIN)
7 8
MNEXEC = mnexec
......
43 44
	mininet/examples/test/runner.py -v
44 45

  
45 46
mnexec: mnexec.c $(MN) mininet/net.py
46
	cc $(CFLAGS) $(LDFLAGS) -DVERSION=\"`PYTHONPATH=. $(MN) --version`\" $< -o $@
47
	cc $(CFLAGS) $(LDFLAGS) -DVERSION=\"`PYTHONPATH=. $(PYMN) --version`\" $< -o $@
47 48

  
48 49
install: $(MNEXEC) $(MANPAGES)
49 50
	install $(MNEXEC) $(BINDIR)
......
60 61

  
61 62
mn.1: $(MN)
62 63
	PYTHONPATH=. help2man -N -n "create a Mininet network." \
63
	--no-discard-stderr $< -o $@
64
	--no-discard-stderr "$(PYMN)" -o $@
64 65

  
65 66
mnexec.1: mnexec
66 67
	help2man -N -n "execution utility for Mininet." \

Also available in: Unified diff