mirror of
https://github.com/znc/znc.git
synced 2026-08-12 03:42:48 +02: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:
@@ -43,15 +43,10 @@ modperl/functions.cpp: modperl/functions.in
|
||||
@mkdir -p modperl
|
||||
$(Q)$(PERL) $(srcdir)/modperl/codegen.pl $< $@
|
||||
|
||||
modperl_install: create_install_dir install_metadirs modperl.so
|
||||
modperl_install: create_install_dir modperl.so
|
||||
for i in $(wildcard $(srcdir)/*.pm); do \
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(MODDIR); \
|
||||
done
|
||||
for a in $(srcdir)/*; do \
|
||||
if [ -d $$a ] && [ -f $${a}.pm ]; then \
|
||||
cp -Rp $$a $(DESTDIR)$(DATADIR); \
|
||||
fi \
|
||||
done
|
||||
mkdir -p $(DESTDIR)$(MODDIR)/modperl
|
||||
$(INSTALL_PROGRAM) modperl/ZNC.so $(DESTDIR)$(MODDIR)/modperl
|
||||
$(INSTALL_DATA) modperl/ZNC.pm $(DESTDIR)$(MODDIR)/modperl
|
||||
|
||||
Reference in New Issue
Block a user