Fix for building from read-only source directories - Bug #1707582
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8ea7856ef3
commit
0eda1f9062
3 changed files with 12 additions and 3 deletions
|
|
@ -26,7 +26,11 @@ source:
|
|||
|
||||
libfiles: $(srcdir)/Lib/swigwarn.swg
|
||||
|
||||
.PHONY: source libfiles
|
||||
# Files required just for the tarball
|
||||
maintainer: libfiles
|
||||
@cd $(SOURCE) && $(MAKE) CParse/parser.h
|
||||
|
||||
.PHONY: source libfiles maintainer
|
||||
|
||||
#####################################################################
|
||||
# All the languages SWIG speaks (when it wants to)
|
||||
|
|
@ -298,6 +302,9 @@ clean-docs:
|
|||
@echo cleaning Docs
|
||||
@test -d $(DOCS) || exit 0; cd $(DOCS) && $(MAKE) -s clean
|
||||
|
||||
maintainer-clean: clean-libfiles
|
||||
@cd $(SOURCE) && $(MAKE) maintainer-clean
|
||||
|
||||
#####################################################################
|
||||
# DISTCLEAN
|
||||
#####################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue