diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-07-29 00:03:55 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-07-29 00:03:55 +0200 |
commit | 3fac022999e009cb7cfd7773c4e59308cb74889c (patch) | |
tree | dbea429d622ee3b3d96764e921103acfc5808ad9 /commandline/Makefile | |
parent | 0f6f9a79bfb1234bbfe2c561d4ce18953750c2e8 (diff) |
start work on commandline documentation
Diffstat (limited to 'commandline/Makefile')
-rw-r--r-- | commandline/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commandline/Makefile b/commandline/Makefile index 3a1c918..2e2ea32 100644 --- a/commandline/Makefile +++ b/commandline/Makefile @@ -8,6 +8,7 @@ LIBS = $(USBLIBS) PREFIX ?= /usr/local bin_dir = ${DESTDIR}${PREFIX}/bin +man_dir = ${DESTDIR}${PREFIX}/man/man1 PROGRAMS = vusb-i2c vusb-i2cdetect vusb-i2cset vusb-i2cget @@ -39,8 +40,12 @@ clean: install: install -m 4755 $(PROGRAMS) $(bin_dir) + install -m 0644 man/vusb-i2cdetect.1 man/vusb-i2cget.1 man/vusb-i2cset.1 \ + $(man_dir) uninstall: - rm -rf $(bin_dir)/vusb-i2c $(bin_dir)/vusb-i2cdetect + rm -f $(bin_dir)/vusb-i2c $(bin_dir)/vusb-i2cdetect + rm -f $(bin_dir)/vusb-i2cget $(bin_dir)/vusb-i2cset + rm -f $(man_dir)/vusb-i2cdetect.1 $(man_dir)/vusb-i2cget.1 $(man_dir)vusb-i2cset.1 .PHONY: all strip clean install uninstall |