summaryrefslogtreecommitdiffstats
path: root/docs/reference
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/Makefile.am6
1 files changed, 1 insertions, 5 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 5094a72d..aa5a9a5c 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -69,11 +69,7 @@ sgml: templates
# don't rebuild templates if tmpl is not in srcdir
templates: scan
@echo '*** Building TMPL ***'
- if test $(top_builddir) != $(top_srcdir); then \
- cp -R $(srcdir)/tmpl/ . ; \
- chmod +w tmpl/ ; \
- chmod +w tmpl/*.sgml ; \
- else \
+ if test $(top_builddir) = $(top_srcdir); then \
(cd build && gtkdoc-mktmpl --module=lasso --output-dir=../tmpl/) ; \
fi