Skip to content

Commit

Permalink
Move manpage to man1 subdir for MANPATH.
Browse files Browse the repository at this point in the history
Allows man/ in the build directory to be referenced directly
in MANPATH.

Update Makefile to reflect new location of manpage.

Fixes #21.
  • Loading branch information
woodruffw committed Apr 1, 2016
1 parent d196e6c commit 7ee691b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ install: all
$(INSTALL) $(SCRIPTS) $(BINDIR) ; \
fi
mkdir -p $(MANDIR)
$(INSTALL) ./man/screenfetch-c.1 $(MANDIR)/screenfetch-c.1
$(INSTALL) ./man/man1/screenfetch-c.1 $(MANDIR)/screenfetch-c.1

uninstall:
rm -rf $(BINDIR)/screenfetch-c
Expand Down
6 changes: 3 additions & 3 deletions man/screenfetch-c.1 → man/man1/screenfetch-c.1
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
.RI [ OPTIONS ]
.SH DESCRIPTION
.B screenfetch-c
is a C rewrite of the original screenFetch, which was written in bash by Brett Bohnenkamper.
is a C rewrite of the original screenFetch, which was written in bash by Brett Bohnenkamper.
Like the original, it displays both an ASCII logo determined by the computer's OS and a variety of statistics, including kernel type, ram, uptime, and so forth.
.SH COMPATIBILITY
Supported OSes:
Microsoft Windows, Mac OS X, FreeBSD, OpenBSD, NetBSD, DragonFlyBSD, Solaris and its derivatives,
Microsoft Windows, Mac OS X, FreeBSD, OpenBSD, NetBSD, DragonFlyBSD, Solaris and its derivatives,
and most Linux-kernel based distributions.
.PP
.I Note:
Expand All @@ -28,7 +28,7 @@ GNU bash, csh, zsh, ksh, fish, dash, ash.
.BR \-v ,
.B \-\-verbose
.PP
Enable verbose mode, which prints out detection information.
.TI Enable verbose mode, which prints out detection information.
.PP
.BR \-s ,
.B \-\-screenshot
Expand Down

0 comments on commit 7ee691b

Please sign in to comment.