Put web-server/ into distro.

This commit is contained in:
sperber 2003-04-22 13:57:19 +00:00
parent 003f803357
commit fe30fb1fe5
1 changed files with 5 additions and 3 deletions

View File

@ -8,10 +8,11 @@ distdir = /tmp
DISTFILES = COPYING README RELEASE \ DISTFILES = COPYING README RELEASE \
Makefile packages.scm \ Makefile packages.scm \
start-web-server \ start-web-server start-extended-web-server \
httpd/*.scm ftpd/*.scm lib/*.scm \ httpd/*.scm ftpd/*.scm lib/*.scm \
doc/man.pdf doc/html \ doc/man.pdf doc/html \
doc/latex/*.tex doc/latex/*.sty doc/latex/*.t2p doc/latex/*.hdir doc/latex/*.tex doc/latex/*.sty doc/latex/*.t2p doc/latex/*.hdir \
web-server
sunet-$(version_id).tar.gz: sunet-$(version_id).tar.gz:
@ -20,6 +21,7 @@ sunet-$(version_id).tar.gz:
dist: dist:
cd doc/latex && $(MAKE) html cd doc/latex && $(MAKE) html
cd doc/latex && $(MAKE) man.pdf && cp -p man.pdf .. cd doc/latex && $(MAKE) man.pdf && cp -p man.pdf ..
cd web-server/root/htdocs && ln -sf ../../../doc/html sunet-manual
distname=$(distname) && \ distname=$(distname) && \
distfile=$(distdir)/$$distname.tar.gz && \ distfile=$(distdir)/$$distname.tar.gz && \
if [ -d $(distdir) ] && \ if [ -d $(distdir) ] && \
@ -32,7 +34,7 @@ dist:
files="$$files $$distname/$$i"; \ files="$$files $$distname/$$i"; \
fi \ fi \
done && \ done && \
tar --exclude CVS -cf - $$files | \ tar --exclude .cvsignore --exclude CVS -cf - $$files | \
gzip --best >$$distfile && \ gzip --best >$$distfile && \
rm $$distname; \ rm $$distname; \
else \ else \