Patchwork [09/16] petitboot: Install udev rules

login
register
mail settings
Submitter Geoff Levand
Date Feb. 28, 2009, 12:53 a.m.
Message ID <20090228005350.716169647@am.sony.com>
Download mbox | patch
Permalink /patch/23854/
State Accepted
Headers show

Comments

Geoff Levand - Feb. 28, 2009, 12:53 a.m.
Add 99-petitboot.rules to the install make target.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
 rules.mk |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch

--- 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