mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix modperl and modpython installations.
When modules' static data files were moved to own dir, install_metadirs was removed from Makefile. But modperl and modpython's makefiles still had dependance on it.
This commit is contained in:
@@ -58,17 +58,10 @@ modpython/compiler: modpython/compiler.cpp Makefile
|
||||
$(E) Building optimizer for python files...
|
||||
$(Q)$(CXX) $(PYTHONCOMMON) -o $@ $<
|
||||
|
||||
modpython_install: create_install_dir install_metadirs modpython_all
|
||||
modpython_install: create_install_dir modpython_all
|
||||
-for i in *.pyc; do \
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(MODDIR); \
|
||||
done
|
||||
for a in $(srcdir)/*; do \
|
||||
if [ -d $$a ]; then \
|
||||
if [ -f $${a}.py ]; then \
|
||||
cp -Rp $$a $(DESTDIR)$(DATADIR); \
|
||||
fi \
|
||||
fi \
|
||||
done
|
||||
mkdir -p $(DESTDIR)$(MODDIR)/modpython
|
||||
$(INSTALL_PROGRAM) modpython/_znc_core.so $(DESTDIR)$(MODDIR)/modpython
|
||||
$(INSTALL_DATA) modpython/znc_core.pyc $(DESTDIR)$(MODDIR)/modpython
|
||||
|
||||
Reference in New Issue
Block a user