bin_SCRIPTS = {{name}}

{{name}}: {{name}}.in
	@$(MKDIR_P) bin
	$(AM_V_GEN)$(SED)                       \
{{if enable_i18n}}		-e s!\@localedir\@!$(localedir)!    \ {{end}}
		-e s!\@pythondir\@!$(pythondir)!    \
		-e s!\@PYTHON\@!$(PYTHON)!          \
		< $< > $@
	@chmod a+x $@

BUILD_SOURCES = $(bin_SCRIPTS)
EXTRA_DIST = {{name}}.in

-include $(top_srcdir)/git.mk
