add ploot-csv.7 man page to the install recipe and simplify Makefile - ploot - … | |
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit f62864eb417aedad38a233fd05ea7a8b46cd2d8e | |
parent 3e8032ac525f2456d151c919514bad5e2cbd7a96 | |
Author: Josuah Demangeon <[email protected]> | |
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(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -3,7 +3,6 @@ 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 | |
@@ -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 |