summaryrefslogtreecommitdiff
path: root/substitute.am
diff options
context:
space:
mode:
authorLudovic Courtès2007-12-11 17:02:05 +0100
committerLudovic Courtès2007-12-11 17:02:05 +0100
commit9b10150c17b02bfcb21dd21269a71db8b45ceb37 (patch)
treecfc1a1068d1f35b03ab8f92c864aee2c4285ce1c /substitute.am
parenta7c8c1edc641a383f26da6d8e696c39bacb4e2ff (diff)
downloadskribilo-9b10150c17b02bfcb21dd21269a71db8b45ceb37.tar.gz
skribilo-9b10150c17b02bfcb21dd21269a71db8b45ceb37.tar.lz
skribilo-9b10150c17b02bfcb21dd21269a71db8b45ceb37.zip
Move Automake substitution code into a separate file.
* substitute.am: New. * src/Makefile.am (substitute, SUFFIXES): Moved in the above file.
Diffstat (limited to 'substitute.am')
-rw-r--r--substitute.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/substitute.am b/substitute.am
new file mode 100644
index 0000000..e0e5c00
--- /dev/null
+++ b/substitute.am
@@ -0,0 +1,15 @@
+# Automake/Autoconf substitutions.
+
+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,[@]prefix[@],$(prefix),g' \
+ -e 's,[@]docdir[@],$(docdir),g' \
+ -e 's,[@]emacsdir[@],$(emacsdir),g' \
+ -e 's,[@]GUILE[@],$(GUILE),g' \
+ -e 's,[@]PACKAGE_STRING[@],$(PACKAGE_STRING),g' \
+ -e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \
+ -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
+ -e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g'
+
+SUFFIXES = .in