X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/d4fbe175e440c3e9de9b5468b85bf56daab62bff..2e3129cd655efb5ccfa93000546cefd02b725154:/Makefile

diff --git a/Makefile b/Makefile
index 2760531..ff9ad97 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ $(FLAVOURED_LOBA):
 	$(MAKE) clean
 
 misc_autogen.h: $(SIMGRID_INSTALL_DIR)/include/xbt/log.h
-	grep -C1 '# *define *CLOG' $< \
+	grep '# *define *\(XBT_\)\?CLOG.*_XBT_LOGV' $< \
 	| sed 's/CLOG/XCLOG/;s/_XBT_LOGV\(([^)]*)\)/(*\1)/' > $@
 
 version.o: $(patsubst %.cpp,%.o,$(filter-out version.cpp, $(SRC.loba)))