diff options
author | Taylor Hutt <thutt@chromium.org> | 2011-12-01 13:37:03 -0800 |
---|---|---|
committer | Taylor Hutt <thutt@chromium.org> | 2011-12-02 08:12:56 -0800 |
commit | 0774f3348aa8ce25330119b94d7c0c982e69c075 (patch) | |
tree | d24cd5cd4181bef182f818f571243c90e83d84be /Makefile | |
parent | 062419367fa4df4bf0df1ecdc8d850994c51c202 (diff) | |
download | adhd-0774f3348aa8ce25330119b94d7c0c982e69c075.tar.gz |
ADHD: Add install target
Details
Add an 'install' target to the Makefile.
A subsequent change will modify the ebuild to use the install target.
Testing
This target is not yet used. Unable to test.
BUG=chromium-os:19558
TEST=See above.
Change-Id: I700a4f6abbe240602d2309d515492227d0da2559
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -15,6 +15,19 @@ adhdinfo gavd:: lib lib gavd adhdinfo:: @$(call remake,Building,$@,$@) +$(DESTDIR)/etc/init/adhd.conf: $(ADHD_DIR)/upstart/adhd.conf + $(INSTALL) -D $< $@ + +$(DESTDIR)/usr/bin/gavd: $(ADHD_BUILD_DIR)/gavd/gavd + $(INSTALL) -D $< $@ + +$(DESTDIR)/etc/asound.state: $(ADHD_DIR)/factory-default/asound.state.$(BOARD) + $(INSTALL) -D $< $@ + +install: $(DESTDIR)/etc/init/adhd.conf \ + $(DESTDIR)/etc/asound.state \ + $(DESTDIR)/usr/bin/gavd + clean: @rm -rf $(ADHD_BUILD_DIR) |