]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
and for out of dir builds
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 25 Mar 2009 16:22:02 +0000 (16:22 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 25 Mar 2009 16:22:02 +0000 (16:22 +0000)
git-svn-id: file:///svn/unbound/trunk@1558 be551aaa-1e26-0410-a405-d3ace91eadb9

Makefile.in

index 867535bf54156ada5119aa282c4540b43fe0e579..4917b83e251ee28fb78e47694c263f1a5e3c6727 100644 (file)
@@ -280,6 +280,7 @@ unbound-control-setup:      $(srcdir)/smallapp/unbound-control-setup.sh
 ifeq "$(WITH_PYTHONMODULE)" "yes"
 pythonmod/pythonmod.c: pythonmod/interface.h
 %.h:   $(srcdir)/%.i $(srcdir)/config.h
+       @-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi
        $(INFO) Swig $<
        $Q$(SWIG) $(CPPFLAGS) -o $@ -python $<
 endif