mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Fix make install (modules weren't installed)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@834 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-6
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user