Commit 9284861e authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka

build: fix make distcheck

Uninstall udev rules.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 619e87fc
......@@ -29,7 +29,7 @@ dist-hook:
rm -fr `find $(distdir) -name '.svn' -o -name CVS -o -name '.#*' \
-o -name '*~' -o -name autom4te.cache`
udev-rules:
install-udev-rules:
if XENO_COBALT
if test -r $(DESTDIR)/$(sysconfdir)/udev/udev.rules ; then \
for f in $(srcdir)/kernel/cobalt/udev/*.rules ; do \
......@@ -45,10 +45,19 @@ if XENO_COBALT
fi
endif
uninstall-udev-rules:
if XENO_COBALT
cd $(srcdir)/kernel/cobalt/udev && for f in *.rules; do \
rm -f $(DESTDIR)/$(sysconfdir)/udev/rules.d/$$f ; \
done
endif
# legacy alias
install-user: install
install-exec-local: udev-rules
install-exec-local: install-udev-rules
uninstall-local: uninstall-udev-rules
uninstall-local:
if XENO_COBALT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment