From 22c686f388d700c89119a277f1a318e062d0282c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 29 May 2012 23:39:05 +0200 Subject: 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@. --- doc/user/lout/front-page.lout.in | 2 +- src/guile/skribilo/config.in | 4 ++-- 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 +;;; Copyright 2005, 2006, 2007, 2009, 2012 Ludovic Courtès ;;; ;;; ;;; 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' -- cgit v1.2.3