From b7700fe2644f83ddbc87880cf19bea0ec0b41fe2 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Wed, 23 Feb 2011 10:48:27 +0600 Subject: [PATCH] Install python modules properly. There was a bug, because of which you needed to run make install twice to get .pyc files installed. Now just make install works. --- modules/modpython/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modpython/Makefile.inc b/modules/modpython/Makefile.inc index f0276411..bde05756 100644 --- a/modules/modpython/Makefile.inc +++ b/modules/modpython/Makefile.inc @@ -59,7 +59,7 @@ modpython/compiler: modpython/compiler.cpp Makefile $(Q)$(CXX) $(PYTHONCOMMON) -o $@ $< modpython_install: create_install_dir install_metadirs modpython_all - for i in $(wildcard *.pyc); do \ + for i in *.pyc; do \ $(INSTALL_DATA) $$i $(DESTDIR)$(MODDIR); \ done for a in $(srcdir)/*; do \