mirror of
https://github.com/znc/znc.git
synced 2026-08-10 02:43:05 +02: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:
@@ -8,14 +8,15 @@ PERLCOMMON += -DSWIG_TYPE_TABLE=znc
|
||||
modperlFLAGS := $(PERLCOMMON)
|
||||
# Find additional headers for out-of-tree build
|
||||
modperlFLAGS += -I.
|
||||
|
||||
PERLHOOK := modperl_install
|
||||
CLEAN += modperl/ZNC.so modperl/ZNC.pm
|
||||
CLEAN += modperl/swigperlrun.h modperl/ZNC.cpp modperl/functions.cpp
|
||||
|
||||
else
|
||||
FILES := $(shell echo $(FILES) | sed -e "s/modperl//")
|
||||
endif
|
||||
|
||||
CLEAN += modperl/ZNC.so modperl/ZNC.pm
|
||||
CLEAN += modperl/swigperlrun.h modperl/ZNC.cpp modperl/functions.cpp
|
||||
|
||||
.PHONY: modperl_install
|
||||
|
||||
install: $(PERLHOOK)
|
||||
|
||||
Reference in New Issue
Block a user