Observe build environment flags and use PYTHONPATH when generating version number

This commit is contained in:
James Page
2012-08-06 03:08:41 -07:00
committed by Bob Lantz
parent fa24f22d4d
commit 9b11238467
+1 -1
View File
@@ -48,7 +48,7 @@ mn.1: $(MN)
--no-discard-stderr $< -o $@
mnexec: mnexec.c $(MN) mininet/net.py
cc -DVERSION=\"`$(MN) --version`\" $< -o $@
cc $(CFLAGS) $(LDFLAGS) -DVERSION=\"`PYTHONPATH=. $(MN) --version`\" $< -o $@
mnexec.1: mnexec
help2man -N -n "execution utility for Mininet." \