aboutsummaryrefslogtreecommitdiff
path: root/intl/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-03-25 18:10:46 +0000
committerRoland McGrath <roland@gnu.org>1996-03-25 18:10:46 +0000
commit5775972decfb67a46216e890d6903f338ac729bf (patch)
treeaa0db47a97900d4039ebbfc0d11ca955ce237dc0 /intl/Makefile
parent857fa1b81d522573da671e54e5d3149698e54a0d (diff)
downloadglibc-5775972decfb67a46216e890d6903f338ac729bf.zip
glibc-5775972decfb67a46216e890d6903f338ac729bf.tar.gz
glibc-5775972decfb67a46216e890d6903f338ac729bf.tar.bz2
Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
Diffstat (limited to 'intl/Makefile')
-rw-r--r--intl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/intl/Makefile b/intl/Makefile
index 0354b42..8b1c056 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -1,6 +1,6 @@
# Makefile for intl subdirectory: message handling code from GNU gettext.
-# Copyright (C) 1995 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -31,12 +31,12 @@ CPPFLAGS += -D'GNULOCALEDIR="$(localedir)"' \
ifdef gettext-srcdir
-%.h:: $(gettext-srcdir)/intl/%.glibc; $(copysrc)
-%.c:: $(gettext-srcdir)/intl/%.c; $(copysrc)
-%.h:: $(gettext-srcdir)/intl/%.h; $(copysrc)
+%.h:: ../gpl2lgpl.sed $(gettext-srcdir)/intl/%.glibc; $(copysrc)
+%.c:: ../gpl2lgpl.sed $(gettext-srcdir)/intl/%.c; $(copysrc)
+%.h:: ../gpl2lgpl.sed $(gettext-srcdir)/intl/%.h; $(copysrc)
define copysrc
-cp -f $< $@.new
+sed -f $^ $@.new
chmod a-w $@.new
mv -f $@.new $@
test ! -d CVS || cvs commit -m'Updated from $<' $@