-EXTRA_DIST = $(man_MANS) $(HELP2MAN) $(man_aux) \
- Makefile.maint GNUmakefile Makefile.summ sample-config.tar.gz
+substitute = sed \
+ -e s,'@PACKAGE\@',"$(PACKAGE)",g \
+ -e s,'@VERSION\@',"$(VERSION)",g \
+ -e s,'@sysconfdir\@',"$(sysconfdir)",g \
+ -e s,'@runstatedir\@',"$(runstatedir)",g \
+ -e s,'@localstatedir\@',"$(localstatedir)",g