Permalink
Browse files

Fix modp{erl,ython} installation

Signed-off-by: Uli Schlachter <psychon@znc.in>
  • Loading branch information...
psychon committed Aug 6, 2011
1 parent e86ff32 commit 8f53d3fbb059f73c14d3391ad36eba438ace24ea
Showing with 2 additions and 2 deletions.
  1. +1 −1 modules/modperl/Makefile.inc
  2. +1 −1 modules/modpython/Makefile.inc
@@ -43,7 +43,7 @@ modperl/functions.cpp: modperl/functions.in
@mkdir -p modperl
$(Q)$(PERL) $(srcdir)/modperl/codegen.pl $< $@
-modperl_install: create_install_dir modperl.so
+modperl_install: install_datadir modperl.so
for i in $(wildcard $(srcdir)/*.pm); do \
$(INSTALL_DATA) $$i $(DESTDIR)$(MODDIR); \
done
@@ -58,7 +58,7 @@ modpython/compiler: modpython/compiler.cpp Makefile
$(E) Building optimizer for python files...
$(Q)$(CXX) $(PYTHONCOMMON) -o $@ $< $(PY_LDFLAGS)
-modpython_install: create_install_dir modpython_all
+modpython_install: install_datadir modpython_all
-for i in *.pyc; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(MODDIR); \
done

0 comments on commit 8f53d3f

Please sign in to comment.