aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2019-04-19 04:43:57 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2019-04-19 04:43:57 +0300
commit7f54d1e60ea02fe5380a10adb88a1490d15d7b6c (patch)
treefd42988e9c99ba83edfab3d197136368dad363ad /Makefile
parent96b3ecb3baa0acced9816f5749d14b05e18a3b09 (diff)
downloadopenrussian-cli-7f54d1e60ea02fe5380a10adb88a1490d15d7b6c.tar.gz
added a manpage and finalized README
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 55f7bf2..acdcc0a 100644
--- a/Makefile
+++ b/Makefile
@@ -38,11 +38,15 @@ check : openrussian-sqlite3.db openrussian
# NOTE: Installation of the Bash completions depends on the Debain bash-completion
# package being installed or something similar
-install : openrussian openrussian-sqlite3.db openrussian-completion.bash
- mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/openrussian
+install : openrussian openrussian-sqlite3.db \
+ openrussian-completion.bash openrussian.1
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
install openrussian $(DESTDIR)$(PREFIX)/bin
+ mkdir -p $(DESTDIR)$(PREFIX)/share/openrussian
cp openrussian-sqlite3.db $(DESTDIR)$(PREFIX)/share/openrussian
cp openrussian-completion.bash $(DESTDIR)$(COMPLETIONSDIR)/openrussian
+ mkdir -p $(DESTDIR)$(PREFIX)/man/man1
+ cp openrussian.1 $(DESTDIR)$(PREFIX)/man/man1
clean:
$(RM) openrussian openrussian-sql.zip openrussian-sqlite3.db