[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-commit] Changes to reftex/Makefile,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-commit] Changes to reftex/Makefile,v |
Date: |
Sat, 03 Mar 2007 15:41:37 +0000 |
CVSROOT: /sources/auctex
Module name: reftex
Changes by: Ralf Angeli <angeli> 07/03/03 15:41:35
Index: Makefile
===================================================================
RCS file: /sources/auctex/reftex/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Makefile 24 Feb 2007 18:43:17 -0000 1.2
+++ Makefile 3 Mar 2007 15:41:34 -0000 1.3
@@ -64,7 +64,7 @@
.SUFFIXES: .el .elc .texi
-.PHONY: all install lisp info dvi ps pdf html
+.PHONY: all install lisp info dvi ps pdf html dist
all: lisp
@@ -90,9 +90,26 @@
html:
cd doc && make ps
+# Call `make dist' either with `TAG=X.Y' or `TAG=YYYYMMDD'. (You can
+# use `TAG=`date +%Y%m%d`' for automatic creation of the current date.)
+# Calling the `dist' target will create a subdirectory `reftex-$(TAG)'
+# with a clean checkout from CVS, generate info docs, and package
+# the directory in a gzipped tar file.
+dist:
+ @if [ "X$(TAG)" = "X" ]; then echo "*** No tag ***"; exit 1; fi
+ rm -rf reftex-$(TAG)
+ mkdir reftex-$(TAG)
+ cvs export -d reftex-$(TAG) \
+ "`echo $(TAG) | sed -e '/^\([-0-9]*[0-9]\)[-a-z]*$$/s//-D \1T2359/' \
+ -e '/[.]/{s/^/-r release_/;s/[.]/_/g}'`" reftex
+ cd reftex-$(TAG)/doc && make dist
+ chmod -R go-w+rX reftex-$(TAG)
+ tar -cf - --owner=root --group=root reftex-$(TAG) | \
+ gzip --best > reftex-$(TAG).tar.gz
+
# =====================================================================
-# Not changed from original import below this point.
+# From original import below this point.
# The following variables need to be defined by the maintainer
FTPDIR = /home/dominik/public_html/Tools/reftex
@@ -155,26 +172,6 @@
-diff -c --exclude ChangeLog xemacs-reftex reftex-$(TAG) \
> xemacs-patch
-dist:
- make distfile TAG=$(TAG)
- cp reftex-$(TAG).tar.gz $(FTPDIR)
- rm -f $(FTPDIR)/reftex.tar.gz
- rm -f $(FTPDIR)/reftex-alpha.tar.gz
- (cd $(FTPDIR); ln -s reftex-$(TAG).tar.gz reftex.tar.gz)
- (cd $(FTPDIR); ln -s reftex-$(TAG).tar.gz reftex-alpha.tar.gz)
- make ps
- make pdf
- make html
- gtar zcvf reftex.info.tar.gz $(INFOFILES)
- cp reftex.html $(HTMLDIR)/Tools/reftex/
- cp reftex.pdf $(HTMLDIR)/Tools/reftex/
- gzip -c reftex.ps > $(FTPDIR)/reftex.ps.gz
- gzip -c reftex.texi > $(FTPDIR)/reftex.texi.gz
- cp reftex.info.tar.gz $(FTPDIR)
- cp CHANGES $(HTMLDIR)/Tools/reftex/
- #make nutshell
- #cp reftex.nutshell $(HTMLDIR)/Tools/reftex/reftex.nutshell
-
alphadist:
make distfile TAG=$(TAG)
cp reftex-$(TAG).tar.gz $(FTPDIR)
- [AUCTeX-commit] Changes to reftex/Makefile,v,
Ralf Angeli <=