diff --git a/examples/Makefile.am b/examples/Makefile.am
index b10cc2c30af0c8c36b908d88d258c0796c70587f..747ce3d2f16a9438768b66af08d06c2ac55563ac 100644 (file)
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
EXTRA_DIST = cgi-demo.cgi.in piped-demo.pl.in shared-demo.pl.in \
stripes.pl.in bigtops.pl.in minmax.pl.in 4charts.pl.in
-EXPREFIX:=$(shell echo "@prefix@" | grep rrd >/dev/null || echo "rrdtool-@VERSION@/")
-examplesdir = $(prefix)/$(EXPREFIX)examples
+examplesdir = $(pkgdatadir)/examples
examples_SCRIPTS = cgi-demo.cgi piped-demo.pl shared-demo.pl \
stripes.pl bigtops.pl minmax.pl 4charts.pl