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.
This commit is contained in:
Alexey Sokolov
2011-02-23 10:48:27 +06:00
parent 8419964165
commit b7700fe264

View File

@@ -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 \