mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Don't create lex.backup unless DEBUG is enabled.
Also, delete it during 'make clean'. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4228 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
2fbcf30dc5
commit
c9d758c669
1 file changed
+8
-2
@@ -336,7 +336,7 @@ else
|
||||
endif
|
||||
|
||||
clean::
|
||||
$(RM) lm_sensors-*
|
||||
$(RM) lm_sensors-* lex.backup
|
||||
|
||||
user_uninstall::
|
||||
|
||||
@@ -476,5 +476,11 @@ manhtml:
|
||||
%c: %y
|
||||
$(BISON) -p sensors_yy -d $< -o $@
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
FLEX_FLAGS := -Psensors_yy -t -b -Cf
|
||||
else
|
||||
FLEX_FLAGS := -Psensors_yy -t -Cf
|
||||
endif
|
||||
|
||||
%.c: %.l
|
||||
$(FLEX) -Psensors_yy -t -b -Cf $< > $@
|
||||
$(FLEX) $(FLEX_FLAGS) $< > $@
|
||||
Reference in new issue
Block a user