etc/services - sync with NetBSD-8
[minix.git] / crypto / external / bsd / heimdal / dist / tests / bin / Makefile.am
blob52b7f15d669eaaf8cadfc014439152db071a7aca
1 include $(top_srcdir)/Makefile.am.common
3 noinst_SCRIPTS = setup-env
5 do_subst = \
6         top_srcdir="$$(cd ${top_srcdir} && pwd)" ; \
7         top_builddir="$$(cd ${top_builddir} && pwd)" ; \
8         sed $(do_dlopen) \
9         -e "s,[@]EGREP[@],$(EGREP),g" \
10         -e "s,[@]top_srcdir[@],$${top_srcdir},g" \
11         -e "s,[@]top_builddir[@],$${top_builddir},g" \
12         -e "s,[@]NO_AFS[@],$(NO_AFS),g"
14 setup-env: setup-env.in Makefile
15         $(do_subst) < $(srcdir)/setup-env.in > setup-env.tmp
16         chmod +x setup-env.tmp
17         mv setup-env.tmp setup-env
19 EXTRA_DIST = setup-env.in
21 CLEANFILES = setup-env setup-env.tmp