sbin_PROGRAMS =
man_MANS =
+###--------------------------------------------------------------------------
+### Substitutions.
+
+confsubst = $(top_srcdir)/config/confsubst
+EXTRA_DIST += config/confsubst
+
+SUBSTITUTIONS = \
+ prefix=$(prefix) exec_prefix=$(exec_prefix) \
+ sysconfdir=$(sysconfdir)
+
+V_SUBST = $(V_SUBST_@AM_V@)
+V_SUBST_ = $(V_SUBST_@AM_DEFAULT_V@)
+V_SUBST_0 = @echo " SUBST $@";
+SUBST = $(V_SUBST)$(confsubst)
+
###--------------------------------------------------------------------------
### The main server.
EXTRA_yaid_SOURCES =
yaid_LDADD = $(mLib_LIBS)
+man_MANS += yaid.8
+EXTRA_DIST += yaid.8.in
+CLEANFILES += yaid.8
+yaid.8: yaid.8.in Makefile
+ $(SUBST) $(srcdir)/yaid.8.in >yaid.8 $(SUBSTITUTIONS)
+
+yaid_SOURCES += yaid.h
yaid_SOURCES += yaid.c
+yaid_SOURCES += addr.c
yaid_SOURCES += policy.c
yaid_LDADD += $(SYS).$(OBJEXT)
### Debian.
## General stuff.
-##EXTRA_DIST += debian/rules
-##EXTRA_DIST += debian/control
-##EXTRA_DIST += debian/changelog
-##EXTRA_DIST += debian/copyright
+EXTRA_DIST += debian/control debian/copyright debian/changelog
+EXTRA_DIST += debian/rules debian/compat debian/source/format
+EXTRA_DIST += debian/yaid.install debian/yaid.init
+EXTRA_DIST += debian/yaid.policy
###----- That's all, folks --------------------------------------------------