diff options
author | Roger Dingledine <arma@torproject.org> | 2006-04-02 03:42:32 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-04-02 03:42:32 +0000 |
commit | b0a502df59f8efaa40780df70aa044b262b0d13f (patch) | |
tree | 1aa47ef5a968c7717cde875966a55fcfa243be0a /doc | |
parent | 1e04b70d49e0de7b27801173a3e6793857abd113 (diff) | |
download | tor-b0a502df59f8efaa40780df70aa044b262b0d13f.tar.gz tor-b0a502df59f8efaa40780df70aa044b262b0d13f.zip |
hack together a shell blob so 'make dist' can build even when
the website isn't there.
svn:r6288
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index a7d162ae66..908db6e722 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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 |