nut/scripts/udev/Makefile.am

35 lines
871 B
Makefile
Raw Permalink Normal View History

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
2015-04-30 13:53:36 +00:00
udevrules_DATA += 62-nut-usbups.rules
2011-09-29 18:14:46 +00:00
endif
if WITH_IPMI
udevrules_DATA += 52-nut-ipmipsu.rules
endif
2010-03-25 23:20:59 +00:00
endif
EXTRA_DIST = README
2015-04-30 13:53:36 +00:00
62-nut-usbups.rules: nut-usbups.rules
cp nut-usbups.rules $@
2010-03-25 23:20:59 +00:00
2011-09-29 18:14:46 +00:00
52-nut-ipmipsu.rules: nut-ipmipsu.rules
2015-04-30 13:53:36 +00:00
cp nut-ipmipsu.rules $@
2011-09-29 18:14:46 +00:00
2022-06-29 10:37:36 +00:00
MAINTAINERCLEANFILES = Makefile.in .dirstamp
# Generated by configure script:
2011-09-29 18:14:46 +00:00
DISTCLEANFILES = nut-usbups.rules nut-ipmipsu.rules
2022-06-29 10:37:36 +00:00
2015-04-30 13:53:36 +00:00
CLEANFILES = 62-nut-usbups.rules 52-nut-ipmipsu.rules
2022-06-29 10:37:36 +00:00
2010-03-25 23:20:59 +00:00
# we should never remove this one, apart from a distclean-check
#MAINTAINERCLEANFILES = nut-usbups.rules.in
2022-06-29 10:37:36 +00:00
# Generated by autogen.sh and needed to run the configure script
# (technically, generated by tools/nut-usbinfo.pl script among
# GENERATED_USB_OS_FILES):
MAINTAINERCLEANFILES += nut-usbups.rules.in nut-usbups.rules.in.AUTOGEN_WITHOUT