From 7df70cb61080a0ded0b035e5cdec57bf18866b26 Mon Sep 17 00:00:00 2001
From: Ludovic Courtès
Date: Tue, 22 May 2012 21:44:26 +0200
Subject: build: Fix `.in.scm' rule for out-of-tree builds.

* src/guile/Makefile.am: Switch to GPLv3+.
  (.in.scm): Mkdir the dirname of $@.
---
 src/guile/Makefile.am | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

(limited to 'src')

diff --git a/src/guile/Makefile.am b/src/guile/Makefile.am
index c853b50..eb44261 100644
--- a/src/guile/Makefile.am
+++ b/src/guile/Makefile.am
@@ -1,19 +1,19 @@
-# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2012  Ludovic Courtès <ludo@gnu.org>
+# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2012 Ludovic Courtès <ludo@gnu.org>
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# This file is part of Skribilo.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# Skribilo is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or (at
+# your option) any later version.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
-# USA.
+# Skribilo is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
+# General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 moduledir = $(guilemoduledir)
 
@@ -98,6 +98,7 @@ BUILT_SOURCES =					\
   skribilo/utils/images.scm
 
 .in.scm:
+	$(MKDIR_P) "`dirname $@`"
 	$(substitute) "$^" > "$@.tmp" &&	\
 	mv "$@.tmp" "$@"
 
-- 
cgit 1.4.1