add ploot-csv.7 man page to the install recipe and simplify Makefile - ploot - simple plotting tools
(HTM) git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit f62864eb417aedad38a233fd05ea7a8b46cd2d8e
(DIR) parent 3e8032ac525f2456d151c919514bad5e2cbd7a96
(HTM) Author: Josuah Demangeon <mail@josuah.net>
Date: Wed, 8 Aug 2018 21:40:06 +0200
add ploot-csv.7 man page to the install recipe and simplify Makefile
Diffstat:
M Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -3,7 +3,6 @@ CFLAGS = -Wall -Wextra -Werror -std=c89 -pedantic -fPIC \
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
@@ -23,9 +22,10 @@ ploot-feed: $(OBJ_PLOOT_FEED)
${CC} $(LDFLAGS) -o $@ $(OBJ_PLOOT_FEED) $(LIB)
install: $(BIN)
- mkdir -p ${PREFIX}/bin $(MANDIR)/man1
+ mkdir -p ${PREFIX}/bin $(MANDIR)/man1 $(MANDIR)/man7
cp $(BIN) ${PREFIX}/bin
- cp $(MAN) $(MANDIR)/man1
+ cp ploot-ff.1 ploot-feed.1 $(MANDIR)/man1
+ cp ploot-csv.7 $(MANDIR)/man7
clean:
rm -f *.o