mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-10 16:30:50 +00:00
Merge pull request 'Makefile: drop usage of 'which'' (#402) from thesamesam/which-hunt into master
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/402
This commit is contained in:
commit
9bd98a6a5d
1 file changed
+2
-2
@@ -267,7 +267,7 @@ manhtml:
|
||||
|
||||
# Flex and Bison
|
||||
%.c: %.y
|
||||
@if ! which $(BISON) 2> /dev/null ; then \
|
||||
@if ! command -v $(BISON) 2> /dev/null ; then \
|
||||
echo "Please install $(BISON), then run \"make clean\" and try again" ; \
|
||||
false ; \
|
||||
fi
|
||||
@@ -280,7 +280,7 @@ FLEX_FLAGS := -Psensors_yy -t -Cfe -8
|
||||
endif
|
||||
|
||||
%.c: %.l
|
||||
@if ! which $(FLEX) 2> /dev/null ; then \
|
||||
@if ! command -v $(FLEX) 2> /dev/null ; then \
|
||||
echo "Please install $(FLEX), then run \"make clean\" and try again" ; \
|
||||
false ; \
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user