cvs: peardoc / Makefile.in
| From: | Martin Jansen | Date: | Tue, 25 May 2004 14:13:38 +0000 |
| Subject: | cvs: peardoc / Makefile.in | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4094@lists.php.net to get a copy of this message | ||
mj Tue May 25 10:13:38 2004 EDT
Modified files:
/peardoc Makefile.in
Log:
* Re-Enabling building .gz/.zip/.bz2 files of the documentation.
Bug: #1393
# This is my patch as submitted in http://pear.php.net/bugs/bug.php?id=1393.
# If someone (Oliver?) has a better solution, just go ahead and commit it.
http://cvs.php.net/diff.php/peardoc/Makefile.in?r1=1.1&r2=1.2&ty=u
Index: peardoc/Makefile.in
diff -u peardoc/Makefile.in:1.1 peardoc/Makefile.in:1.2
--- peardoc/Makefile.in:1.1 Mon Sep 30 22:40:51 2002
+++ peardoc/Makefile.in Tue May 25 10:13:38 2004
@@ -20,7 +20,7 @@
#
#
-# $Id: Makefile.in,v 1.1 2002/10/01 02:40:51 alexmerz Exp $
+# $Id: Makefile.in,v 1.2 2004/05/25 14:13:38 mj Exp $
#
VPATH=@srcdir@
@@ -99,13 +99,13 @@
lynx -term=vt100 -nolist -dump file:
pwd/$< > $@
@MANUAL@.zip: html/index.html
- -rm -f $@ && (cd html; zip -9 -q ../$@ *.html)
+ -rm -f $@ basename $@ .zip && (find html -type f -exec zip -9 -uq $@ {} \;)
@MANUAL@.tar.gz: html/index.html
- -rm -f $@ && (cd html; tar -cf - *.html) | gzip -9 > $@
+ -rm -f $@ basename $@ .gz && (find html -type f -exec tar -rf basename
$@ .gz {} \;) && gzip -9 basename $@ .gz
@MANUAL@.tar.bz2: html/index.html
- -rm -f $@ && (cd html; tar -cf - *.html) | bzip2 -9 > $@
+ -rm -f $@ basename $@ .bz2 && (find html -type f -exec tar -rf basename
$@ .bz2 {} \;) && bzip2 -9 basename $@ .bz2
# File endings we are going to define general rules for:
.SUFFIXES: .html .xml .sgml