Commit 267e0e32 by nilm

fix make install when /usr/local/man/man1 does not exist

git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@9108 ddd99763-3ecb-0310-9145-efcb8ce7c51f
parent 588385bc
Showing with 2 additions and 1 deletions
......@@ -16,7 +16,7 @@
CFLAGS += -Wall -g #-pg
LDFLAGS += -lm #-pg
PREFIX = /usr/local
MANPATH = ${PREFIX}/man/man1
MANPATH = ${PREFIX}/man/man1/
BINPATH = ${PREFIX}/bin
#WINCC = i386-mingw32-gcc
......@@ -66,6 +66,7 @@ ethstream.exe: $(obj-ethstream:.o=.obj) compat-win32.obj
.PHONY: install
install: ethstream.1 ethstream
mkdir -p ${BINPATH} ${MANPATH}
install -m 0755 ethstream ${BINPATH}
install -m 0644 ethstream.1 ${MANPATH}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment