make

Remove words from a list

FILTER = index.html test.html 404.html
PAGES = $(sort $(filter-out $(FILTER), $(wildcard *.html)))

See also