hack together a shell blob so 'make dist' can build even when

the website isn't there.


svn:r6288
This commit is contained in:
Roger Dingledine 2006-04-02 03:42:32 +00:00
parent 1e04b70d49
commit b0a502df59

View File

@ -8,15 +8,21 @@ SUBDIRS = design-paper
DIST_SUBDIRS = design-paper
website: ../../website/docs/
cd $(srcdir)/../../website && $(MAKE)
rm -rf website
mkdir website
cp $(srcdir)/../../website/docs/tor-*.html.* \
$(srcdir)/../../website/stylesheet.css website
if test -d $(srcdir)/../../website ; then \
cd $(srcdir)/../../website && $(MAKE); \
fi
if test -d $(srcdir)/../../website ; then \
cp $(srcdir)/../../website/docs/tor-*.html.* \
$(srcdir)/../../website/stylesheet.css website; \
fi
img: ../../website/img/
rm -rf img
mkdir img
cp $(srcdir)/../../website/img/*.png \
$(srcdir)/../../website/img/*.jpg img
if test -d $(srcdir)/../../website/img; then \
cp $(srcdir)/../../website/img/*.png \
$(srcdir)/../../website/img/*.jpg img; \
fi
.PHONY: website img