summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1bc8712)
raw | patch | inline | side by side (parent: 1bc8712)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 17 Sep 2006 20:46:17 +0000 (20:46 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 17 Sep 2006 20:46:17 +0000 (20:46 +0000) |
program/configure.ac | patch | blob | history | |
program/examples/Makefile.am | patch | blob | history |
diff --git a/program/configure.ac b/program/configure.ac
index a6cd1e6f62df5e73e560ac448992847e43de4d25..2d4a2425a87c9beb1aca16de7e9fac89b9b69f77 100644 (file)
--- a/program/configure.ac
+++ b/program/configure.ac
AC_CONFIG_FILES([examples/stripes.pl])
AC_CONFIG_FILES([examples/bigtops.pl])
AC_CONFIG_FILES([examples/minmax.pl])
-AC_CONFIG_FILES([examples/cgi-demo.cgi])
AC_CONFIG_FILES([examples/4charts.pl])
AC_CONFIG_FILES([examples/Makefile])
AC_CONFIG_FILES([doc/Makefile])
AC_CONFIG_FILES([bindings/python/Makefile])
AC_CONFIG_FILES([Makefile])
-AC_CONFIG_COMMANDS([default],[[ chmod +x examples/*.cgi examples/*.pl]],[[]])
+AC_CONFIG_COMMANDS([default],[[ chmod +x examples/*.pl]],[[]])
AC_OUTPUT
AC_MSG_CHECKING(in)
index 747ce3d2f16a9438768b66af08d06c2ac55563ac..921249beee7423b6cbb49a7ecb4624d90ac67ccb 100644 (file)
#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
examplesdir = $(pkgdatadir)/examples
examples_SCRIPTS = cgi-demo.cgi piped-demo.pl shared-demo.pl \
stripes.pl bigtops.pl minmax.pl 4charts.pl
+cgi-demo.cgi: cgi-demo.cgi.in $(top_builddir)/config.status
+ sed 's,@''exec_prefix@,$(exec_prefix),' $< > $@
+ chmod a+x $@
+