Just to let everyone know that I found a solution to my problem. The correct
search string in Google was 'automake "make examples"', where I could find
Makefile.am's of people who had been there before. I could then extend those
a bit so that "make clean" would also clean the examples.
============================================================================
SUBDIRS = ...
DIST_SUBDIRS = $(SUBDIRS) examples
.PHONY: examples clean-examples
examples: all
( cd $(top_builddir)/examples && $(MAKE) $(MFLAGS) )
clean-examples:
( cd $(top_builddir)/examples && $(MAKE) $(MFLAGS) clean )
clean-local: clean-examples
============================================================================
Comments? Improvements?
--
Simon Perreault <[EMAIL PROTECTED]> -- http://nomis80.org