summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc9c087)
raw | patch | inline | side by side (parent: fc9c087)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 11 Jun 2005 06:14:25 +0000 (06:14 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 11 Jun 2005 06:14:25 +0000 (06:14 +0000) |
program/examples/Makefile.am | patch | blob | history |
index 258173b12f475483d30830607e3f1b648201ecd0..b10cc2c30af0c8c36b908d88d258c0796c70587f 100644 (file)
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
-examplesdir = $(prefix)/examples
+EXPREFIX:=$(shell echo "@prefix@" | grep rrd >/dev/null || echo "rrdtool-@VERSION@/")
+examplesdir = $(prefix)/$(EXPREFIX)examples
examples_SCRIPTS = cgi-demo.cgi piped-demo.pl shared-demo.pl \
stripes.pl bigtops.pl minmax.pl 4charts.pl