1 |
# Makefile for GNU m4 documentation. |
# Makefile for GNU m4 documentation. |
2 |
# Copyright (C) 1994, 2004 Free Software Foundation, Inc. |
# Copyright (C) 1994, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
5 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
15 |
# along with this program; if not, write to the Free Software |
# along with this program; if not, write to the Free Software |
16 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 |
|
|
18 |
PRODUCT = @PRODUCT@ |
PACKAGE = @PACKAGE@ |
19 |
VERSION = @VERSION@ |
VERSION = @VERSION@ |
20 |
|
|
21 |
SHELL = /bin/sh |
SHELL = /bin/sh |
48 |
$(TEXI2DVI) $(srcdir)/m4.texinfo |
$(TEXI2DVI) $(srcdir)/m4.texinfo |
49 |
|
|
50 |
version.texi: stamp-vti |
version.texi: stamp-vti |
51 |
stamp-vti: m4.texinfo ../configure.in |
stamp-vti: m4.texinfo ../configure.ac |
52 |
echo "@set EDITION $(VERSION)" > version.tmp |
echo "@set EDITION $(VERSION)" > version.tmp |
53 |
echo "@set UPDATED `date '+%B %Y'`" >> version.tmp |
echo "@set UPDATED `date '+%B %Y'`" >> version.tmp |
54 |
echo "@set VERSION $(VERSION)" >> version.tmp |
echo "@set VERSION $(VERSION)" >> version.tmp |
80 |
dist: $(DISTFILES) |
dist: $(DISTFILES) |
81 |
@echo "Copying distribution files" |
@echo "Copying distribution files" |
82 |
@for file in $(DISTFILES); do \ |
@for file in $(DISTFILES); do \ |
83 |
ln $(srcdir)/$$file ../$(PRODUCT)-$(VERSION)/doc 2> /dev/null \ |
ln $(srcdir)/$$file ../$(PACKAGE)-$(VERSION)/doc 2> /dev/null \ |
84 |
|| cp -p $(srcdir)/$$file ../$(PRODUCT)-$(VERSION)/doc; \ |
|| cp -p $(srcdir)/$$file ../$(PACKAGE)-$(VERSION)/doc; \ |
85 |
done |
done |
86 |
|
|
87 |
Makefile: ../config.status Makefile.in |
Makefile: ../config.status Makefile.in |