Skip to content

Commit

Permalink
Makefile.am: fix docsrc in read-only source build
Browse files Browse the repository at this point in the history
  • Loading branch information
elliefm committed Jun 17, 2016
1 parent 4ba6913 commit ef730dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,8 @@ GENERATED_RSTS = docsrc/imap/admin/configs/imapd.conf.rst \
## build), and clone the docsrc tree into the build directory, so
## that we have a single "source directory" for sphinx-build to use.
docsrc/.sphinx-build.stamp:
$(AM_V_GEN)test x"$(top_srcdir)" = x"$(top_builddir)" || (cd $(top_srcdir) && tar cf - docsrc) | tar xf -
$(AM_V_GEN)test x"$(top_srcdir)" = x"$(top_builddir)" || \
(cd $(top_srcdir) && tar cf - --mode=gu+w docsrc) | tar xf -
@touch $@

## XXX doesn't detect if other rst sources are updated...
Expand Down

0 comments on commit ef730dd

Please sign in to comment.