diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-10-12 13:30:08 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-10-12 13:30:08 -0700 |
commit | 3fbc2de085bda1b5bbeefcfe3053e0b0d37aa1e0 (patch) | |
tree | c8719ec87da2229fbf836824ff80bd3534d88de7 | |
parent | 9463ca1f1c52ba1fd4b17946a209742685815c68 (diff) | |
download | subsurface-3fbc2de085bda1b5bbeefcfe3053e0b0d37aa1e0.tar.gz |
Install manpage
(and fix two white space issues)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | subsurface.1 | 4 |
2 files changed, 8 insertions, 4 deletions
@@ -8,14 +8,17 @@ INSTALL=install # prefix = $(HOME) prefix = /usr DESTDIR = $(prefix)/bin -DESKTOPDIR = $(prefix)/share/applications -ICONPATH = $(prefix)/share/icons/hicolor +DATADIR = $(prefix)/share +DESKTOPDIR = $(DATADIR)/applications +ICONPATH = $(DATADIR)/icons/hicolor ICONDIR = $(ICONPATH)/scalable/apps +MANDIR = $(DATADIR)/man/man1 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(ICONPATH) NAME = subsurface ICONFILE = $(NAME).svg DESKTOPFILE = $(NAME).desktop +MANFILES = $(NAME).1 # find libdivecomputer; we don't trust pkg-config here given how young # libdivecomputer still is - so we check /usr/local and /usr and then we @@ -63,6 +66,7 @@ install: $(NAME) $(INSTALL) -d -m 755 $(ICONDIR) $(INSTALL) $(ICONFILE) $(ICONDIR) $(gtk_update_icon_cache) + $(INSTALL) -m 644 $(MANFILES) $(MANDIR) parse-xml.o: parse-xml.c dive.h $(CC) $(CFLAGS) `pkg-config --cflags glib-2.0` -c `xml2-config --cflags` parse-xml.c diff --git a/subsurface.1 b/subsurface.1 index 401796f4a..1e636f275 100644 --- a/subsurface.1 +++ b/subsurface.1 @@ -8,7 +8,7 @@ subsurface .B subsurface allows you to manage your dive logs that you can download from your dive computer or import from existing XML files. .PP -The +The .B Dive Profile and .B Dive List @@ -24,6 +24,6 @@ the last of those dives is numbered. show more output during processing .PP .B --import -all further files should be processed as import, not open +all further files should be processed as import, not open .SH BUGS lots. Tell us if you find some. |