#!/bin/sh

# Development script used to build list of example files
# An example file is taken as a file satisfying certain
# constraints which is linked to by an html file
# Usage: (from package root directory) debian/build-eg-list > debian/examples

find * -maxdepth 0 -type f -not -iname '*.html' -not -iname '*.gif' -not -iname '*.css' -not -iname '*.pdf' -exec fgrep -qi 'href="{}"' *.html \; -print
