Implement "make user_uninstall". Original patch contributed by

Rudolf Marek.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2604 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-06-20 14:18:28 +00:00
1 parent 4fd3781e12
commit e7e4c799da
10 files changed
+72

No files matched your search

+4
View File
@@ -22,9 +22,13 @@ PROGPWMTARGETS := $(MODULE_DIR)/fancontrol \
$(MODULE_DIR)/fancontrol.pl \
$(MODULE_DIR)/pwmconfig
REMOVEPWMBIN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(SBINDIR)/%,$(PROGPWMTARGETS))
install-prog-pwm: $(PROGPWMTARGETS)
$(MKDIR) $(DESTDIR)$(SBINDIR)
$(INSTALL) -m 755 $(PROGPWMTARGETS) $(DESTDIR)$(SBINDIR)
user_install :: install-prog-pwm
user_uninstall::
$(RM) $(REMOVEPWMBIN)