Background: Automake provides different types of distributions. After reading the docs "What Goes in a Distribution" I know how to include extra directories in general. But I'm not sure about the best way to exclude directories in this list for a single rule.
This is the part in current configure.ac that adds to the dist directories
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build_aux])
And this is the part in current Makefile.am that adds to the dist directories
SUBDIRS = sources po doc tests
EXTRA_DIST = build_windows
Result: both package.tar.gz and package.zip contain the same, conceing the directories these are
- build_aux
- build_windows
- doc
- m4
- po
- sources
- tests
Question: How to exclude build_windows in package.tar.gz and m4 in package.zip`?
