Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile: fix the install recipe - ploot - simple plotting tools
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65…
Log
Files
Refs
Tags
README
LICENSE
---
commit 621b388b3006dd5ffe35a6f4b629942f574972b4
parent ecbd21a496446ea895412dc2c98c803173828520
Author: Josuah Demangeon <[email protected]>
Date: Wed, 8 Aug 2018 19:46:26 +0200
Makefile: fix the install recipe
Diffstat:
M Makefile | 7 +++++--
A ploot-feed.1 | 53 ++++++++++++++++++++++++++++++
A ploot-ff.1 | 0
3 files changed, 58 insertions(+), 2 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -3,6 +3,8 @@ CFLAGS = -Wall -Wextra -Werror -std=c89 -pedanti…
LDFLAGS = -static
BIN = ploot-ff ploot-feed
LIB = -lm
+MAN = ploot-ff.1 ploot-feed.1
+MANDIR = $(PREFIX)/share/man
SRC_PLOOT_FF = util.c ploot-ff.c
HDR_PLOOT_FF = arg.h util.h font.h
@@ -21,8 +23,9 @@ ploot-feed: $(OBJ_PLOOT_FEED)
${CC} $(LDFLAGS) -o $@ $(OBJ_PLOOT_FEED) $(LIB)
install: $(BIN)
- mkdir -p ${PREFIX}/bin
- cp ploot plootxt ${PREFIX}/bin
+ mkdir -p ${PREFIX}/bin $(MANDIR)/man1
+ cp $(BIN) ${PREFIX}/bin
+ cp $(MAN) $(MANDIR)/man1
clean:
rm -f *.o
diff --git a/ploot-feed.1 b/ploot-feed.1
@@ -0,0 +1,53 @@
+.Dd $Mdocdate: August 08 2018$
+.Dt PLOOT-FEED 1
+.Os
+.
+.
+.Sh NAME
+.
+.Nm ploot-feed
+.Nd plot a continuous stream of data from standard input.
+.
+.
+.Sh SYNOPSIS
+.
+.Nm ploot-feed
+.Op Fl options
+.Ar
+.
+.
+.Sh DESCRIPTION
+.
+The
+.Nm
+utility
+.
+.
+.\" .Sh CONTEXT
+.\" For section 9 functions only.
+.\" .Sh RETURN VALUES
+.\" For sections 2, 3, and 9 function return values only.
+.\" .Sh ENVIRONMENT
+.\" For sections 1, 6, 7, and 8 only.
+.\" .Sh FILES
+.\" .Sh EXIT STATUS
+.\" For sections 1, 6, and 8 only.
+.\" .Sh EXAMPLES
+.\" .Sh DIAGNOSTICS
+.\" For sections 1, 4, 6, 7, 8, and 9 printf/stderr messages only.
+.\" .Sh ERRORS
+.\" For sections 2, 3, 4, and 9 errno settings only.
+.\" .Sh SEE ALSO
+.\" .Xr foobar 1
+.\" .Sh STANDARDS
+.\" .Sh HISTORY
+.
+.
+.Sh AUTHORS
+.
+.An Josuah Demangeon
+.Aq Mt [email protected]
+.
+.
+.\" .Sh CAVEATS
+.\" .Sh BUGS
diff --git a/ploot-ff.1 b/ploot-ff.1
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.