mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Install manpage
(and fix two white space issues) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9463ca1f1c
commit
3fbc2de085
2 changed files with 8 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -8,14 +8,17 @@ INSTALL=install
|
||||||
# prefix = $(HOME)
|
# prefix = $(HOME)
|
||||||
prefix = /usr
|
prefix = /usr
|
||||||
DESTDIR = $(prefix)/bin
|
DESTDIR = $(prefix)/bin
|
||||||
DESKTOPDIR = $(prefix)/share/applications
|
DATADIR = $(prefix)/share
|
||||||
ICONPATH = $(prefix)/share/icons/hicolor
|
DESKTOPDIR = $(DATADIR)/applications
|
||||||
|
ICONPATH = $(DATADIR)/icons/hicolor
|
||||||
ICONDIR = $(ICONPATH)/scalable/apps
|
ICONDIR = $(ICONPATH)/scalable/apps
|
||||||
|
MANDIR = $(DATADIR)/man/man1
|
||||||
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(ICONPATH)
|
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(ICONPATH)
|
||||||
|
|
||||||
NAME = subsurface
|
NAME = subsurface
|
||||||
ICONFILE = $(NAME).svg
|
ICONFILE = $(NAME).svg
|
||||||
DESKTOPFILE = $(NAME).desktop
|
DESKTOPFILE = $(NAME).desktop
|
||||||
|
MANFILES = $(NAME).1
|
||||||
|
|
||||||
# find libdivecomputer; we don't trust pkg-config here given how young
|
# 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
|
# 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) -d -m 755 $(ICONDIR)
|
||||||
$(INSTALL) $(ICONFILE) $(ICONDIR)
|
$(INSTALL) $(ICONFILE) $(ICONDIR)
|
||||||
$(gtk_update_icon_cache)
|
$(gtk_update_icon_cache)
|
||||||
|
$(INSTALL) -m 644 $(MANFILES) $(MANDIR)
|
||||||
|
|
||||||
parse-xml.o: parse-xml.c dive.h
|
parse-xml.o: parse-xml.c dive.h
|
||||||
$(CC) $(CFLAGS) `pkg-config --cflags glib-2.0` -c `xml2-config --cflags` parse-xml.c
|
$(CC) $(CFLAGS) `pkg-config --cflags glib-2.0` -c `xml2-config --cflags` parse-xml.c
|
||||||
|
|
|
@ -8,7 +8,7 @@ subsurface
|
||||||
.B subsurface
|
.B subsurface
|
||||||
allows you to manage your dive logs that you can download from your dive computer or import from existing XML files.
|
allows you to manage your dive logs that you can download from your dive computer or import from existing XML files.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.B Dive Profile
|
.B Dive Profile
|
||||||
and
|
and
|
||||||
.B Dive List
|
.B Dive List
|
||||||
|
@ -24,6 +24,6 @@ the last of those dives is numbered.
|
||||||
show more output during processing
|
show more output during processing
|
||||||
.PP
|
.PP
|
||||||
.B --import
|
.B --import
|
||||||
all further files should be processed as import, not open
|
all further files should be processed as import, not open
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
lots. Tell us if you find some.
|
lots. Tell us if you find some.
|
||||||
|
|
Loading…
Add table
Reference in a new issue