summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-07-04 19:51:30 +0530
committerArun Isaac2021-07-04 19:51:30 +0530
commitd470c081ed7c12c610905bfc4fe1dc37cc797cf2 (patch)
tree4262006a79e1a487a5165c4319e9bb3bcadaea00
parent626e0505a1db105b65bea85e254f01ae9349dc44 (diff)
downloadccwl-d470c081ed7c12c610905bfc4fe1dc37cc797cf2.tar.gz
ccwl-d470c081ed7c12c610905bfc4fe1dc37cc797cf2.tar.lz
ccwl-d470c081ed7c12c610905bfc4fe1dc37cc797cf2.zip
Makefile: Pass source path to skribilo.
* Makefile.am (SKRIBILO_FLAGS): New variable. (doc/ccwl.info, doc/ccwl.html): Pass $(SKRIBILO_FLAGS) to skribilo.
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index bd7ec03..ac921b5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -113,16 +113,17 @@ CLEANFILES += doc/*.cwl doc/%.dot doc/*.svg
info-local: doc/ccwl.info
html-local: doc/ccwl.html
+SKRIBILO_FLAGS = --source-path=$(srcdir)
CLEANFILES += doc/ccwl.info doc/skribilo.go
CLEAN_DIRECTORIES = doc/ccwl.html
doc/ccwl.info: doc/ccwl.skb doc/skribilo.go $(DOC_IMAGES) $(DOC_OTHER)
- $(SKRIBILO_GEN)$(top_builddir)/pre-inst-env $(SKRIBILO) -t info $< -o $@
+ $(SKRIBILO_GEN)$(top_builddir)/pre-inst-env $(SKRIBILO) $(SKRIBILO_FLAGS) -t info $< -o $@
doc/ccwl.html: doc/ccwl.skb doc/skribilo.go $(DOC_IMAGES) $(DOC_OTHER)
rm -rf $@
$(MKDIR_P) $@
- $(SKRIBILO_GEN)$(top_builddir)/pre-inst-env $(SKRIBILO) -t html $< -o $@/index.html
+ $(SKRIBILO_GEN)$(top_builddir)/pre-inst-env $(SKRIBILO) $(SKRIBILO_FLAGS) -t html $< -o $@/index.html
cp -vr $(DOC_IMAGES) $@
# The install target depends on the install-data target, which in turn