From a4f3dd05382af03e8b08941d5db28be77c235a49 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Mon, 16 Jul 2012 02:29:04 +0200 Subject: [PATCH] Makefile: put config into new install-config target --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d6ee318..97058a0 100644 --- a/Makefile +++ b/Makefile @@ -44,12 +44,14 @@ CFLAGS_MAIN=-DLIB_DIR=\"$(libdir)\" -DSYSCONFDIR=\"$(sysconfdir)\" -DDLL_NAME=\" all: $(ALL_LIBS) $(ALL_TOOLS) -#install: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(DESTDIR)$(LDSO_PATHNAME) +install-config: + install -d $(DESTDIR)/$(sysconfdir) + install $(INSTALL_FLAGS) 644 src/proxychains.conf $(DESTDIR)/$(sysconfdir)/ + install: - install -d $(DESTDIR)/$(bindir)/ $(DESTDIR)/$(libdir)/ $(DESTDIR)/$(sysconfdir) + install -d $(DESTDIR)/$(bindir)/ $(DESTDIR)/$(libdir)/ install $(INSTALL_FLAGS) 755 $(ALL_TOOLS) $(DESTDIR)/$(bindir)/ install $(INSTALL_FLAGS) 644 $(ALL_LIBS) $(DESTDIR)/$(libdir)/ - install $(INSTALL_FLAGS) 644 src/proxychains.conf $(DESTDIR)/$(sysconfdir)/ clean: rm -f $(ALL_LIBS)