Makefiles: Correctly quote sed expressions
Now the Makefiles support spaces in "$sysconfdir", which isn't uncommon for Cygwin for example, when $HOME contains whitespaces ("/home/User Name") and ngIRCd is installed into the user home ("./configure --prefix=$HOME").
This commit is contained in:
parent
b5b3dd9cfd
commit
1e5a7aac87
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
.tmpl:
|
.tmpl:
|
||||||
$(AM_V_GEN)sed \
|
$(AM_V_GEN)sed \
|
||||||
-e s@:ETCDIR:@${sysconfdir}@ \
|
-e "s@:ETCDIR:@${sysconfdir}@" \
|
||||||
<$< >$@
|
<$< >$@
|
||||||
|
|
||||||
SUFFIXES = .tmpl
|
SUFFIXES = .tmpl
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
#
|
#
|
||||||
# ngIRCd -- The Next Generation IRC Daemon
|
# ngIRCd -- The Next Generation IRC Daemon
|
||||||
# Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
|
# Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors
|
||||||
#
|
#
|
||||||
# Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# der GNU General Public License (GPL), wie von der Free Software Foundation
|
# it under the terms of the GNU General Public License as published by
|
||||||
# herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
# der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
|
# (at your option) any later version.
|
||||||
# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
|
# Please read the file COPYING, README and AUTHORS for more information.
|
||||||
# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
|
|
||||||
#
|
|
||||||
# $Id: Makefile.am,v 1.6 2006/12/25 16:13:26 alex Exp $
|
|
||||||
#
|
#
|
||||||
|
|
||||||
TEMPLATE_MANS = ngircd.conf.5.tmpl ngircd.8.tmpl
|
TEMPLATE_MANS = ngircd.conf.5.tmpl ngircd.8.tmpl
|
||||||
|
@ -18,9 +15,9 @@ SUFFIXES = .tmpl .
|
||||||
|
|
||||||
.tmpl:
|
.tmpl:
|
||||||
$(AM_V_GEN)sed \
|
$(AM_V_GEN)sed \
|
||||||
-e s@:SBINDIR:@${sbindir}@ \
|
-e "s@:SBINDIR:@${sbindir}@" \
|
||||||
-e s@:BINDIR:@${bindir}@ \
|
-e "s@:BINDIR:@${bindir}@" \
|
||||||
-e s@:ETCDIR:@${sysconfdir}@ \
|
-e "s@:ETCDIR:@${sysconfdir}@" \
|
||||||
<$< >$@
|
<$< >$@
|
||||||
|
|
||||||
man_MANS = ngircd.conf.5 ngircd.8
|
man_MANS = ngircd.conf.5 ngircd.8
|
||||||
|
|
Loading…
Reference in New Issue