- @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;