~vcs-imports-ii/znc/master

« back to all changes in this revision

Viewing changes to modules/modpython/Makefile.inc

  • Committer: Alexey Sokolov
  • Date: 2011-03-29 18:21:05 UTC
  • Revision ID: git-v1:6db2ac8ac60893e9f517cc27a2e2644f211b1be9
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        $(E) Building optimizer for python files...
59
59
        $(Q)$(CXX) $(PYTHONCOMMON) -o $@ $<
60
60
 
61
 
modpython_install: create_install_dir install_metadirs modpython_all
 
61
modpython_install: create_install_dir modpython_all
62
62
        -for i in *.pyc; do \
63
63
                $(INSTALL_DATA) $$i $(DESTDIR)$(MODDIR); \
64
64
        done
65
 
        for a in $(srcdir)/*; do \
66
 
                if [ -d $$a ]; then \
67
 
                        if [ -f $${a}.py ]; then \
68
 
                                cp -Rp $$a $(DESTDIR)$(DATADIR); \
69
 
                        fi \
70
 
                fi \
71
 
        done
72
65
        mkdir -p $(DESTDIR)$(MODDIR)/modpython
73
66
        $(INSTALL_PROGRAM) modpython/_znc_core.so $(DESTDIR)$(MODDIR)/modpython
74
67
        $(INSTALL_DATA) modpython/znc_core.pyc $(DESTDIR)$(MODDIR)/modpython