+build-examples-stamp:
+ dh_testdir
+ mkdir $(objdir_examples)
+ cp -a samples $(objdir_examples)
+ cp -a demos $(objdir_examples)
+ cp -a utils/wxPython/demo $(objdir_examples)/wxPython
+ @for d in $(objdir_examples)/demos $(objdir_examples)/samples; do \
+ (cd $$d \
+ && mv Makefile.in Makefile \
+ && rm -f configure* \
+ && find -name 'Makefile.in' -exec rm -f '{}' ';' \
+ && for f in $$(find -type d); do \
+ if [ -f $$f/makefile.unx ]; then \
+ mv $$f/makefile.unx $$f/Makefile; \
+ fi; \
+ done) \
+ done;
+ touch $@
+