From 303af16e675c2a09480cd0e261f2b4a98862f6e9 Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 26 Aug 2007 06:09:19 +0000 Subject: [PATCH] Fix make install (modules weren't installed) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@834 726aef4b-f618-498e-8847-2d620e286838 --- modules/Makefile.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/Makefile.in b/modules/Makefile.in index b02efc2a..5164bc82 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -25,7 +25,6 @@ endif SRCS = $(wildcard ../*.cpp) $(addsuffix .cpp, $(FILES)) OBJS = $(addsuffix .o, $(FILES)) TARGETS = $(addsuffix .so, $(FILES)) -INSTALL_TARGS = $(foreach file, $(TARGETS), install_$(file)) CLEAN = *.so *.o @@ -38,8 +37,8 @@ all: $(OBJS) $(TARGETS) depend: .depend -install: all create_install_dir install_metadirs $(INSTALL_TARGS) - @echo -n "" +install: all create_install_dir install_metadirs + install -m 0755 $(TARGETS) $(DESTDIR)$(MODDIR)/znc create_install_dir: mkdir -p $(DESTDIR)$(MODDIR)/znc @@ -52,9 +51,6 @@ install_metadirs: fi \ done -install_%: %.so - install -m 0755 $(subst install_,,$@) $(DESTDIR)$(MODDIR)/znc - clean: rm -rf $(CLEAN)