From 0938a940c57cbe45945406750b2b9ce9e47872ee Mon Sep 17 00:00:00 2001 From: Adam Hamsik Date: Sat, 28 Jan 2012 23:10:40 +0100 Subject: [PATCH] Create install destionation directories first with install -d. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 814346d..151f940 100644 --- a/Makefile +++ b/Makefile @@ -45,10 +45,11 @@ CFLAGS_MAIN=-DLIB_DIR=\"$(libdir)\" -DINSTALL_PREFIX=\"$(prefix)\" -DDLL_NAME=\" all: $(ALL_LIBS) $(ALL_TOOLS) #install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(DESTDIR)$(LDSO_PATHNAME) -install: +install: + install -d $(bindir) $(libdir) $(confdir) $(includedir) install $(INSTALL_FLAGS) 755 $(ALL_TOOLS) $(bindir)/ install $(INSTALL_FLAGS) 644 $(ALL_LIBS) $(libdir)/ - install $(INSTALL_FLAGS) 644 src/proxychains.conf $(prefix)/etc/ + install $(INSTALL_FLAGS) 644 src/proxychains.conf $(confdir) clean: rm -f $(ALL_LIBS)