Browse Source

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
tags/ethstream-1.3
nilm 12 years ago
parent
commit
267e0e32a5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Makefile

+ 2
- 1
Makefile View File

@@ -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}



Loading…
Cancel
Save