Index: trunk/ippconfig/Makefile.am
===================================================================
--- trunk/ippconfig/Makefile.am	(revision 11576)
+++ trunk/ippconfig/Makefile.am	(revision 11836)
@@ -30,2 +30,15 @@
 
 ACLOCAL_AMFLAGS = -I m4
+
+# From the autoconf manual, section 4.7.2 "Installation Directory Variables"
+edit = sed \
+	-e 's|@datadir[@]|$(datadir)|g' \
+	-e 's|@prefix[@]|$(prefix)|g' \
+	-e 's|@IPP_CONFIG_DIR[@]|$(IPP_CONFIG_DIR)|g'
+
+ipprc.config dvo.site: Makefile
+	rm -f $@
+	$(edit) '$(srcdir)/$@.in' > $@
+
+ipprc.config: $(srcdir)/ipprc.config.in
+dvo.site: $(srcdir)/dvo.site.in
