summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-01-12 17:31:40 -0800
committerJeremy Kerr <jk@ozlabs.org>2009-02-01 11:15:38 +1100
commit44fe1998097c50802eeac0a831b0b730809ac4b0 (patch)
tree3fe9eba63879a5fef1f378fc9c23ae579c28e81e /rules.mk
parentbaf330c1024cc324c631594ab1a56f30d240b9fa (diff)
downloadtalos-petitboot-44fe1998097c50802eeac0a831b0b730809ac4b0.tar.gz
talos-petitboot-44fe1998097c50802eeac0a831b0b730809ac4b0.zip
Fix make install
Fix the make target install. Fixes errors like these: /usr/bin/install: cannot stat `petitboot': No such file or directory Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/rules.mk b/rules.mk
index 708c5a2..af6223b 100644
--- a/rules.mk
+++ b/rules.mk
@@ -58,12 +58,11 @@ parser-test: $(parser_test_objs)
$(LINK.o) -o $@ $^
install: all
- $(INSTALL) -D petitboot $(DESTDIR)$(sbindir)/petitboot
- $(INSTALL) -D petitboot-udev-helper \
- $(DESTDIR)$(sbindir)/petitboot-udev-helper
- $(INSTALL) -Dd $(DESTDIR)$(pkgdatadir)/artwork/
- $(INSTALL) -t $(DESTDIR)$(pkgdatadir)/artwork/ \
- $(foreach a,$(artwork),$(top_srcdir)/artwork/$(a))
+ $(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/
dist: $(PACKAGE)-$(VERSION).tar.gz
OpenPOWER on IntegriCloud