root/i2c-tools/trunk/stub/Module.mk

Revision 5594, 0.8 KB (checked in by khali, 3 years ago)

Licensing clarification.

Line 
1# Helper for the Linux i2c-stub bus driver
2#
3# Copyright (C) 2007-2008  Jean Delvare <khali@linux-fr.org>
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9
10STUB_DIR        := stub
11
12#
13# Commands
14#
15
16install-stub: $(STUB_DIR)/i2c-stub-from-dump
17        $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
18        $(INSTALL_PROGRAM) $(STUB_DIR)/i2c-stub-from-dump $(DESTDIR)$(sbindir)
19        $(INSTALL_DATA) $(STUB_DIR)/i2c-stub-from-dump.8 $(DESTDIR)$(man8dir)
20
21uninstall-stub:
22        $(RM) $(DESTDIR)$(sbindir)/i2c-stub-from-dump
23        $(RM) $(DESTDIR)$(man8dir)/i2c-stub-from-dump.8
24
25install: install-stub
26
27uninstall: uninstall-stub
Note: See TracBrowser for help on using the browser.