From 2bebcd8cc0f17d8f91c6b2fea36bc4cdd67f9c4a Mon Sep 17 00:00:00 2001 From: cdkersey Date: Sat, 5 Sep 2015 15:44:54 -0600 Subject: [PATCH] Don't accidentally create a subdirectory. --- src/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index e5bc33ad..794a5928 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,7 +1,7 @@ ################################################################################ # HARPtools by Chad D. Kersey, Summer 2011 # ################################################################################ -CXXFLAGS ?= -fPIC -O3 #-g -DUSE_DEBUG=3 +CXXFLAGS ?= -fPIC -O3 # -g -DUSE_DEBUG=3 LDLIBS ?= -pthread PREFIX ?= /usr/local @@ -51,7 +51,8 @@ lex.yy.cc: scanner.lex install: cp libharplib.so $(PREFIX)/lib cp harptool $(PREFIX)/bin - cp -r include $(PREFIX)/include/harp + mkdir -p $(PREFIX)/include/harp + cp include/* $(PREFIX)/include/harp clean: rm -f *~ \#* *.o *.a *.so include/*~ include/\#* harptool