mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-11 16:40:16 +00:00
Surer `make clean' implementation
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@581 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
57f2f6d7ef
commit
fc20445e02
10 files changed
+48
-15
No files matched your search
@@ -19,6 +19,7 @@
|
||||
# 'simply expanded variable'. That means that its value is substituted
|
||||
# verbatim in the rules, until it is redefined.
|
||||
MODULE_DIR := prog/sensors
|
||||
PROGSENSORSDIR := $(MODULE_DIR)
|
||||
|
||||
PROGSENSORSMAN1DIR := $(MANDIR)/man1
|
||||
PROGSENSORSMAN1FILES := $(MODULE_DIR)/sensors.1
|
||||
@@ -45,6 +46,6 @@ install-prog-sensors: all-prog-sensors
|
||||
install :: install-prog-sensors
|
||||
|
||||
clean-prog-sensors:
|
||||
$(RM) $(PROGSENSORSSOURCES:.c=.rd) $(PROGSENSORSSOURCES:.c=.ro) \
|
||||
$(PROGSENSORSTARGETS)
|
||||
$(RM) $(PROGSENSORSDIR)/*.rd $(PROGSENSORSDIR)/*.ro
|
||||
$(RM) $(PROGSENSORSTARGETS)
|
||||
clean :: clean-prog-sensors
|
||||
Reference in new issue
Block a user