summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2022-11-02 22:32:24 -0400
committerJeffrey Walton <noloader@gmail.com>2022-11-02 22:32:24 -0400
commite9cbc4698a6b3ed067910862ad1355069f348d2b (patch)
tree94f119366da32aa4d38e94b0a39343204a4c5076 /GNUmakefile
parent3685dd50c6f222a6995bfe842785f5bc37dab162 (diff)
downloadcryptopp-git-e9cbc4698a6b3ed067910862ad1355069f348d2b.tar.gz
Fix grep warning about stray \
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6d6a5967..b9843c6a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1373,7 +1373,8 @@ sources: adhoc.cpp
DOCUMENT_DIRECTORY := ref$(LIB_VER)
# Directory Doxygen uses (specified in Doygen config file)
ifeq ($(wildcard Doxyfile),Doxyfile)
-DOXYGEN_DIRECTORY := $(strip $(shell $(GREP) "OUTPUT_DIRECTORY" Doxyfile | $(GREP) -v '\#' | cut -d "=" -f 2))
+POUND_SIGN = "\#"
+DOXYGEN_DIRECTORY := $(strip $(shell $(GREP) "OUTPUT_DIRECTORY" Doxyfile | $(GREP) -v $(POUND_SIGN) | cut -d "=" -f 2))
endif
# Default directory (in case its missing in the config file)
ifeq ($(strip $(DOXYGEN_DIRECTORY)),)