mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix make clean for modperl and modpython
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2220 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -4,11 +4,8 @@ PYTHONCOMMON += -DSWIG_TYPE_TABLE=znc
|
||||
PYTHONCOMMON += -Wno-missing-field-initializers -Wno-unused -Wno-shadow
|
||||
PYTHONCOMMON += -Wno-missing-declarations -Wno-uninitialized
|
||||
modpythonFLAGS := $(PYTHONCOMMON) -I.
|
||||
PYTHONHOOK := modpython_install
|
||||
else
|
||||
FILES := $(shell echo $(FILES) | sed -e "s/modpython//")
|
||||
endif
|
||||
|
||||
PYTHONHOOK := modpython_install
|
||||
CLEAN += modpython/_znc_core.so modpython/_znc_core.cpp modpython/znc_core.py modpython/znc_core.pyc
|
||||
CLEAN += modpython/swigpyrun.h modpython/znc.pyc modpython/functions.cpp modpython/compiler
|
||||
ifneq "$(srcdir)" "."
|
||||
@@ -16,6 +13,10 @@ ifneq "$(srcdir)" "."
|
||||
CLEAN += modpython/znc.py
|
||||
endif
|
||||
|
||||
else
|
||||
FILES := $(shell echo $(FILES) | sed -e "s/modpython//")
|
||||
endif
|
||||
|
||||
.PHONY: modpython_install modpython_compilepyc
|
||||
|
||||
install: $(PYTHONHOOK)
|
||||
|
||||
Reference in New Issue
Block a user