diff options
author | Ludovic Courtès | 2012-05-29 23:39:05 +0200 |
---|---|---|
committer | Ludovic Courtès | 2012-05-30 01:44:04 +0200 |
commit | 22c686f388d700c89119a277f1a318e062d0282c (patch) | |
tree | a04d9e07f9511ef41a8b041ff52c21e29fc33ebe | |
parent | 11f6126e0866a7404959c16ac43ecbd3a9c3b3f6 (diff) | |
download | skribilo-22c686f388d700c89119a277f1a318e062d0282c.tar.gz skribilo-22c686f388d700c89119a277f1a318e062d0282c.tar.lz skribilo-22c686f388d700c89119a277f1a318e062d0282c.zip |
build: Use @PACKAGE_URL@ instead of hard-coded URLs.
* doc/user/lout/front-page.lout.in: Use @PACKAGE_URL@ instead of the
hard-coded URL.
* src/guile/skribilo/config.in (skribilo-url): Likewise.
* substitute.am (substitute): Substitute @PACKAGE_URL@.
-rw-r--r-- | doc/user/lout/front-page.lout.in | 2 | ||||
-rw-r--r-- | src/guile/skribilo/config.in | 4 | ||||
-rw-r--r-- | substitute.am | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/doc/user/lout/front-page.lout.in b/doc/user/lout/front-page.lout.in index 888b0d1..999706e 100644 --- a/doc/user/lout/front-page.lout.in +++ b/doc/user/lout/front-page.lout.in @@ -25,7 +25,7 @@ @LP Érick Gallesio, Manuel Serrano, Ludovic Courtès //1.3fx -"http://www.nongnu.org/skribilo/" @ExternalLink { @I "http://www.nongnu.org/skribilo/" } +"@PACKAGE_URL@" @ExternalLink { @I "@PACKAGE_URL@" } } diff --git a/src/guile/skribilo/config.in b/src/guile/skribilo/config.in index dc979f7..dcbf245 100644 --- a/src/guile/skribilo/config.in +++ b/src/guile/skribilo/config.in @@ -1,7 +1,7 @@ ;;; config.scm -- Skribilo configuration. ;;; -*- coding: iso-8859-1 -*- ;;; -;;; Copyright 2005, 2006, 2007, 2009 Ludovic Courtès <ludo@gnu.org> +;;; Copyright 2005, 2006, 2007, 2009, 2012 Ludovic Courtès <ludo@gnu.org> ;;; ;;; ;;; This file is part of Skribilo. @@ -25,7 +25,7 @@ skribilo-scheme)) (define (skribilo-version) "@PACKAGE_VERSION@") -(define (skribilo-url) "http://www.nongnu.org/skribilo/") +(define (skribilo-url) "@PACKAGE_URL@") (define (skribilo-bug-report-address) "@PACKAGE_BUGREPORT@") (define (skribilo-module-directory) "@guilemoduledir@") (define (skribilo-scheme) "@GUILE@") diff --git a/substitute.am b/substitute.am index eb1aaae..9623b7e 100644 --- a/substitute.am +++ b/substitute.am @@ -11,6 +11,7 @@ substitute = sed -e 's,[@]guilemoduledir[@],$(guilemoduledir),g' \ -e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \ -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \ -e 's,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g' \ + -e 's,[@]PACKAGE_URL[@],$(PACKAGE_URL),g' \ -e 's,[@]FIG2DEV[@],$(FIG2DEV),g' \ -e 's,[@]CONVERT[@],$(CONVERT),g' |