root/i2c-tools/trunk/eeprom/Module.mk @ 5162

Revision 5162, 0.8 KB (checked in by khali, 5 years ago)

Drop the trailing .pl from all perl script names.

Line 
1# EEPROM decoding scripts for the Linux eeprom driver
2#
3# Copyright (C) 2007-2008  Jean Delvare <khali@linux-fr.org>
4#
5# Licensed under the GNU General Public License.
6
7EEPROM_DIR      := eeprom
8
9EEPROM_TARGETS  := decode-dimms decode-vaio ddcmon decode-edid
10
11# decode-xeon was not yet ported to the Linux 2.6 sysfs interface
12ifeq (,$(findstring /2.6., /$(KERNELVERSION)))
13EEPROM_TARGETS  += decode-xeon
14endif
15
16#
17# Commands
18#
19
20install-eeprom: $(addprefix $(EEPROM_DIR)/,$(EEPROM_TARGETS))
21        $(INSTALL_DIR) $(DESTDIR)$(bindir)
22        for program in $(EEPROM_TARGETS) ; do \
23        $(INSTALL_PROGRAM) $(EEPROM_DIR)/$$program $(DESTDIR)$(bindir) ; done
24
25uninstall-eeprom:
26        for program in $(EEPROM_TARGETS) ; do \
27        $(RM) $(DESTDIR)$(bindir)/$$program ; done
28
29install: install-eeprom
30
31uninstall: uninstall-eeprom
Note: See TracBrowser for help on using the browser.