updated Makefile for man page generation, updated man page
This commit is contained in:
parent
7f9bb6e21d
commit
ff97740dac
|
@ -7,7 +7,7 @@ sonicfs
|
|||
.depend
|
||||
|
||||
# Documentation
|
||||
doc
|
||||
doc/html
|
||||
|
||||
# Editor related
|
||||
*.kate-swp
|
||||
|
|
6
Makefile
6
Makefile
|
@ -24,7 +24,7 @@ endif
|
|||
|
||||
prefix ?= /usr/local
|
||||
|
||||
all: httpdirfs
|
||||
all: man
|
||||
|
||||
%.o: src/%.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c -o $@ $<
|
||||
|
@ -55,7 +55,7 @@ ifeq ($(OS),Darwin)
|
|||
$(DESTDIR)$(prefix)/share/man/man1/httpdirfs.1
|
||||
endif
|
||||
|
||||
man: all
|
||||
man: httpdirfs
|
||||
help2man --no-discard-stderr ./httpdirfs > doc/man/httpdirfs.1
|
||||
|
||||
doc:
|
||||
|
@ -64,10 +64,10 @@ doc:
|
|||
clean:
|
||||
-rm -f *.o
|
||||
-rm -f httpdirfs
|
||||
-rm -rf doc/man/httpdirfs.1
|
||||
|
||||
distclean: clean
|
||||
-rm -rf doc/html
|
||||
-rm -rf doc/man/httpdirfs.1
|
||||
|
||||
uninstall:
|
||||
-rm -f $(DESTDIR)$(prefix)/bin/httpdirfs
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1.
|
||||
.TH HTTPDIRFS "1" "August 2021" "HTTPDirFS version 1.2.3" "User Commands"
|
||||
.TH PRINT_VERSION: "1" "August 2021" "print_version: HTTPDirFS version 1.2.3" "User Commands"
|
||||
.SH NAME
|
||||
HTTPDirFS \- manual page for HTTPDirFS version 1.2.3
|
||||
print_version: \- manual page for print_version: HTTPDirFS version 1.2.3
|
||||
.SH DESCRIPTION
|
||||
print_version: HTTPDirFS version 1.2.3
|
||||
print_version: libcurl SSL engine: OpenSSL/1.1.1k
|
||||
usage: ./httpdirfs [options] URL mountpoint
|
||||
.SS "general options:"
|
||||
.TP
|
||||
|
@ -247,19 +249,21 @@ prepend this directory to all paths (mandatory)
|
|||
\fB\-o\fR [no]rellinks
|
||||
transform absolute symlinks to relative
|
||||
.PP
|
||||
libcurl SSL engine: OpenSSL/1.1.1k
|
||||
print_version: libcurl SSL engine: OpenSSL/1.1.1k
|
||||
print_version: HTTPDirFS version 1.2.3
|
||||
print_version: libcurl SSL engine: OpenSSL/1.1.1k
|
||||
FUSE library version: 2.9.9
|
||||
fusermount3 version: 3.10.3
|
||||
using FUSE kernel interface version 7.19
|
||||
.SH "SEE ALSO"
|
||||
The full documentation for
|
||||
.B HTTPDirFS
|
||||
.B print_version:
|
||||
is maintained as a Texinfo manual. If the
|
||||
.B info
|
||||
and
|
||||
.B HTTPDirFS
|
||||
.B print_version:
|
||||
programs are properly installed at your site, the command
|
||||
.IP
|
||||
.B info HTTPDirFS
|
||||
.B info print_version:
|
||||
.PP
|
||||
should give you access to the complete manual.
|
||||
|
|
Loading…
Reference in New Issue