[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-commit] Changes to reftex/doc/Makefile,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-commit] Changes to reftex/doc/Makefile,v |
Date: |
Thu, 08 Mar 2007 22:05:54 +0000 |
CVSROOT: /sources/auctex
Module name: reftex
Changes by: Ralf Angeli <angeli> 07/03/08 22:05:54
Index: Makefile
===================================================================
RCS file: /sources/auctex/reftex/doc/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- Makefile 3 Mar 2007 16:23:44 -0000 1.4
+++ Makefile 8 Mar 2007 22:05:54 -0000 1.5
@@ -28,6 +28,7 @@
TEXI2HTML=makeinfo --no-split --html --number-sections
DVIPS=dvips
INSTALL_INFO=install-info
+TEXIFILES=reftex.texi changes.texi install.texi version.texi
DISTTEXTS=../CHANGES
.PHONY: all info dvi ps pdf html install dist clean maintainer-clean
@@ -44,24 +45,21 @@
html: reftex.html
-reftex.info: reftex.texi
+reftex.info: $(TEXIFILES)
$(MAKEINFO) --no-split reftex.texi
-reftex.dvi: reftex.texi
+reftex.dvi: $(TEXIFILES)
$(TEXI2DVI) reftex.texi
reftex.ps: reftex.dvi
$(DVIPS) -o reftex.ps reftex.dvi
-reftex.pdf: reftex.texi
+reftex.pdf: $(TEXIFILES)
$(TEXI2PDF) reftex.texi
-reftex.html: reftex.texi
+reftex.html: $(TEXIFILES)
$(TEXI2HTML) reftex.texi
-../CHANGES: changes.texi
- $(MAKEINFO) $(MAKEINFO_PLAIN) changes.texi --output $@
-
install: reftex.info
if [ ! -d $(infodir) ]; then $(MKDIR) $(infodir); else true; fi ;
$(CP) reftex.info $(infodir)
@@ -75,3 +73,18 @@
rm -f $(DISTTEXTS) reftex.info
dist: $(DISTTEXTS) reftex.info
+
+../CHANGES: changes.texi
+ $(MAKEINFO) $(MAKEINFO_PLAIN) changes.texi --output $@
+
+../INSTALL: install.texi
+ $(MAKEINFO) $(MAKEINFO_PLAIN) install.texi --output $@
+
+version.texi: ../ChangeLog
+ REFTEXDATE=`sed -n '1s/^\([-0-9][-0-9]*\).*/\1/p' ../ChangeLog` ; \
+ test "X$${REFTEXDATE}" != X || \
+ { echo "Can't find date in ChangeLog" >&2 ; exit 1; }; \
+ REFTEXVERSION=`sed -n '2,/^[0-9]/s/.*Version \(.*\) released\..*/\1/p'
../ChangeLog`; \
+ test "X$${REFTEXVERSION}" != X || REFTEXVERSION=$${REFTEXDATE}; \
+ echo @set VERSION $${REFTEXVERSION} >version.texi; \
+ echo @set DATE $${REFTEXDATE} >>version.texi
- [AUCTeX-commit] Changes to reftex/doc/Makefile,v, Ralf Angeli, 2007/03/01
- [AUCTeX-commit] Changes to reftex/doc/Makefile,v, Ralf Angeli, 2007/03/03
- [AUCTeX-commit] Changes to reftex/doc/Makefile,v, Ralf Angeli, 2007/03/03
- [AUCTeX-commit] Changes to reftex/doc/Makefile,v,
Ralf Angeli <=
- [AUCTeX-commit] Changes to reftex/doc/Makefile,v, Ralf Angeli, 2007/03/10