2010-03-25 23:20:59 +00:00
|
|
|
|
|
|
|
if WITH_UDEV
|
|
|
|
udevrulesdir = $(udevdir)/rules.d
|
2011-09-29 18:14:46 +00:00
|
|
|
udevrules_DATA =
|
|
|
|
if WITH_USB
|
|
|
|
udevrules_DATA += 52-nut-usbups.rules
|
|
|
|
endif
|
|
|
|
if WITH_IPMI
|
|
|
|
udevrules_DATA += 52-nut-ipmipsu.rules
|
|
|
|
endif
|
2010-03-25 23:20:59 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST = README
|
|
|
|
|
|
|
|
52-nut-usbups.rules: nut-usbups.rules
|
|
|
|
cp nut-usbups.rules 52-nut-usbups.rules
|
|
|
|
|
2011-09-29 18:14:46 +00:00
|
|
|
52-nut-ipmipsu.rules: nut-ipmipsu.rules
|
|
|
|
cp nut-ipmipsu.rules 52-nut-ipmipsu.rules
|
|
|
|
|
|
|
|
DISTCLEANFILES = nut-usbups.rules nut-ipmipsu.rules
|
|
|
|
CLEANFILES = 52-nut-usbups.rules 52-nut-ipmipsu.rules
|
2010-03-25 23:20:59 +00:00
|
|
|
# we should never remove this one, apart from a distclean-check
|
|
|
|
#MAINTAINERCLEANFILES = nut-usbups.rules.in
|