summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès2007-11-28 13:37:50 +0100
committerLudovic Courtès2007-11-28 13:37:50 +0100
commit9d11a119ec7aec9db96caa1d80879b38da3a9950 (patch)
tree4f933ebd4fb4a0ca2d8cab1198e1f3b5db442a7f /src/Makefile.am
parentb2349ca9dfd2736d612194a4859a5a61c3c86066 (diff)
downloadskribilo-9d11a119ec7aec9db96caa1d80879b38da3a9950.tar.gz
skribilo-9d11a119ec7aec9db96caa1d80879b38da3a9950.tar.lz
skribilo-9d11a119ec7aec9db96caa1d80879b38da3a9950.zip
Use modules from the source dir when building the doc.
* doc/user/Makefile.am (skribilo): Use `pre-inst-skribilo'. * src/Makefile.am (noinst_SCRIPTS): New. (substitute): Substitute `abs_top_srcdir' and `abs_top_builddir'. * src/pre-inst-skribilo.in: New.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 806d358..da3623c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,9 +3,13 @@ SUBDIRS = guile
EXTRA_DIST = skribilo.in
bin_SCRIPTS = skribilo
+noinst_SCRIPTS = pre-inst-skribilo
+
CLEANFILES = $(bin_SCRIPTS)
substitute = sed -e 's,[@]guilemoduledir[@],$(guilemoduledir),g' \
+ -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \
+ -e 's,[@]abs_top_builddir[@],$(abs_top_builddir),g' \
-e 's,[@]GUILE[@],$(GUILE),g' \
-e 's,[@]PACKAGE_STRING[@],$(PACKAGE_STRING),g' \
-e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \