Install udev rules
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 27 Feb 2009 14:53:59 +0000 (14:53 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 23 Mar 2009 10:47:59 +0000 (21:47 +1100)
Add 99-petitboot.rules to the install make target.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
rules.mk

index dd6562ca1e615cf2861ac44e60cb2209dad5f4f5..1ffcef3b24d63b079c4c422d82b5442a49753425 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -62,12 +62,15 @@ discover/pb-discover: $(pb_discover_objs)
 parser-test: $(parser_test_objs)
        $(LINK.o) -o $@ $^
 
-install: all
+install: all utils/99-petitboot.rules
        $(INSTALL) -d $(DESTDIR)$(sbindir)/
        $(INSTALL) discover/pb-discover $(uis) $(DESTDIR)$(sbindir)/
        $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/artwork/
        $(INSTALL) $(addprefix $(top_srcdir)/ui/twin/artwork/,$(artwork)) \
                $(DESTDIR)$(pkgdatadir)/artwork/
+       $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/utils
+       $(INSTALL) $(top_srcdir)/utils/99-petitboot.rules \
+                $(DESTDIR)$(pkgdatadir)/utils
 
 dist:  $(PACKAGE)-$(VERSION).tar.gz