-EXTRALIBRARIES = easydialog.sh
-EXTRA_DIST = Makefile.am $(EXTRALIBRARIES)
-dist_pkglib_DATA = $(EXTRALIBRARIES)
+EXTRA_DIST = easydialog.in parseini.in tools.in vserver.in
+GENERATED_FILES = easydialog parseini tools vserver
+dist_pkglib_DATA = $(GENERATED_FILES)
+CLEANFILES = $(GENERATED_FILES)
+edit = sed \
+ -e "s,@BASH\@,$(BASH),g"
+