X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.am;h=313f5215b254f908eeab9502f455ef67ef3a41b6;hp=3ae68429a25e06822b0999af01e520b652853de3;hb=074c3a1bde68f3d2607c5c4711ec456dbdb05bce;hpb=09bdef43191a9de4bcc770ad680fa20776a8f683 diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 3ae6842..313f521 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -128,14 +128,14 @@ all-local: cp -pfR $(srcdir)/$$subdir $(builddir); \ done; \ fi; \ - if [ x"$(shell echo "$(top_srcdir)" | grep "^/" | wc -l)" = x"1" ]; then \ + if [ x"$(shell echo "$(top_srcdir)" | $(GREP) "^/" | wc -l)" = x"1" ]; then \ echo "Examples: absolute top_srcdir path $(top_srcdir)"; \ rel_src_subdir=""; \ else \ echo "Examples: relative top_srcdir path $(top_srcdir)"; \ rel_src_subdir="../"; \ fi; \ - if [ x"$(shell echo "$(top_builddir)" | grep "^/" | wc -l)" = x"1" ]; then \ + if [ x"$(shell echo "$(top_builddir)" | $(GREP) "^/" | wc -l)" = x"1" ]; then \ echo "Examples: absolute top_builddir path $(top_builddir)"; \ rel_build_subdir=""; \ else \