aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1998-10-31 09:35:19 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1998-10-31 09:35:19 +0000
commit3af9d95f3866dc277a98c5776cb2f50a0b46c959 (patch)
tree66be8dd24b77a68cc7acdc92f936e22a1c29f0fe
parentb43b8fb09f0b0acf7ca84d21d0ca58d96b8c0e50 (diff)
downloadpostgresql-3af9d95f3866dc277a98c5776cb2f50a0b46c959.tar.gz
postgresql-3af9d95f3866dc277a98c5776cb2f50a0b46c959.zip
Try to get only html and gif files into tarballs.
Was picking up subdirectories and other garbage.
-rw-r--r--doc/src/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/src/Makefile b/doc/src/Makefile
index 05cc60a125d..81d4cf769ac 100644
--- a/doc/src/Makefile
+++ b/doc/src/Makefile
@@ -6,7 +6,7 @@ SRCDIR= ../../src
TAR= tar
ZIP= gzip
-TAREXCLUDE= --exclude=Makefile --exclude='*.sgml'
+TAREXCLUDE= --exclude=Makefile --exclude='*.sgml' --exclude=ref
# Pick up Makefile.global from the source area
# This is the only resource from the code source area and is optional
@@ -43,27 +43,32 @@ sources.tar:
admin.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml admin.html
- ($(TAR) -cf $@ $(TAREXCLUDE) -C sgml . -C .. -C graphics layout.gif)
+ (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics layout.gif)
+
+installation.tar:
+ $(MAKE) -C sgml clean
+ $(MAKE) -C sgml installation.html
+ (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm)
postgres.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml postgres.html
- ($(TAR) -cf $@ $(TAREXCLUDE) -C sgml . -C .. -C graphics catalogs.gif connections.gif layout.gif)
+ (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif connections.gif layout.gif)
programmer.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml programmer.html
- ($(TAR) -cf $@ $(TAREXCLUDE) -C sgml . -C .. -C graphics catalogs.gif connections.gif)
+ (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif connections.gif)
tutorial.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml tutorial.html
- ($(TAR) -cf $@ $(TAREXCLUDE) -C sgml . -C .. -C graphics clientserver.gif)
+ (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) -C sgml . -C .. -C graphics clientserver.gif)
user.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml user.html
- ($(TAR) -cf $@ $(TAREXCLUDE) -C sgml .)
+ (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm)
# Generic production rules