projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not reset the last_ds store unless the data source type is actually changed.
[rrdtool.git]
/
examples
/
Makefile.am
diff --git
a/examples/Makefile.am
b/examples/Makefile.am
index
b10cc2c
..
e568965
100644
(file)
--- a/
examples/Makefile.am
+++ b/
examples/Makefile.am
@@
-4,11
+4,13
@@
#ACLOCAL_M4 = $(top_srcdir)/config/aclocal.m4
#ACLOCAL_M4 = $(top_srcdir)/config/aclocal.m4
-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
+EXTRA_DIST = cgi-demo.cgi.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 \
examples_SCRIPTS = cgi-demo.cgi piped-demo.pl shared-demo.pl \
- stripes.pl bigtops.pl minmax.pl 4charts.pl
+ stripes.pl bigtops.pl minmax.pl 4charts.pl perftest.pl
+
+cgi-demo.cgi: @srcdir@/cgi-demo.cgi.in $(top_builddir)/config.status
+ sed 's,@''exec_prefix@,$(exec_prefix),' @srcdir@/cgi-demo.cgi.in > $@
+ chmod a+x $@