Test file name before makeing a tar archive.

This commit is contained in:
Wolfram Schneider 1998-09-13 21:43:20 +00:00
parent 5b5710d448
commit 692913c8c6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=3507
2 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
# bsd.web.mk
# $Id: web.site.mk,v 1.14 1998-07-23 10:59:00 wosch Exp $
# $Id: web.site.mk,v 1.15 1998-09-13 21:43:20 wosch Exp $
#
# Build and install a web site.
@ -157,8 +157,8 @@ realinstall2:
.if defined(DOCSUBDIR) && !empty(DOCSUBDIR)
for entry in ${DOCSUBDIR}; do \
(cd ${DOCINSTALLDIR}/$$entry; \
tar czf $$entry-html.tar.gz *.html; \
ln -fs $${entry}.html index.html ) \
if test -f $$entry.html; then tar czf $$entry-html.tar.gz *.html; fi; \
if test -f $$entry.html; then ln -fs $${entry}.html index.html;fi ) \
done
.endif