Don't generate mod[perl|python].tar.bz2

This commit is contained in:
Alexey Sokolov
2012-08-13 20:40:05 +07:00
parent fcc7839771
commit 7a4aa744fe
4 changed files with 23 additions and 44 deletions
+1 -10
View File
@@ -25,9 +25,6 @@ endif
.PHONY: modpython_install modpython_all
# otherwise make doesn't see it even when it exists and wants to create it several times
.SECONDARY: modpython/znc_core.py
install: $(PYTHONHOOK)
# This will run: modpython/compiler blah.py blah.pyc
@@ -41,12 +38,6 @@ endif
modpython_all: modpython/_znc_core.so modpython/znc.pyc modpython/znc_core.pyc
modpython_all: $(addsuffix c, $(notdir $(wildcard $(srcdir)/*.py)))
modpython/znc_core.py modpython/_znc_core.cpp modpython/functions.cpp modpython/swigpyrun.h: modpython/modpython.tar.bz2
@mkdir -p modpython
$(E) Unpacking modpython files...
$(Q)tar -xf $^ -C modpython
$(Q)touch modpython/swigpyrun.h modpython/functions.cpp modpython/_znc_core.cpp modpython/znc_core.py
modpython/_znc_core.o: modpython/_znc_core.cpp Makefile
@mkdir -p modpython
@mkdir -p .depend
@@ -58,7 +49,7 @@ modpython/_znc_core.so: modpython/_znc_core.o Makefile
$(Q)$(CXX) $(MODFLAGS) $(LDFLAGS) $(MODLINK) -o $@ $< $(PY_LDFLAGS)
ifneq "$(SWIG)" ""
modpython/modpython.tar.bz2: modpython/codegen.pl modpython/functions.in Makefile
modpython/znc_core.py modpython/_znc_core.cpp modpython/functions.cpp modpython/swigpyrun.h: modpython/codegen.pl modpython/functions.in Makefile
@mkdir -p modpython .depend
$(Q)$(MAKE) -f $(srcdir)/modpython/Makefile.gen $(C) SWIG="$(SWIG)" srcdir="$(srcdir)" PERL="$(PERL)" VERBOSE="$(VERBOSE)" SED="$(SED)"
endif