summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-07-03 16:25:59 +0530
committerArun Isaac2021-07-03 16:25:59 +0530
commit6700ba0b21aa704753b928f378d2461754f378cc (patch)
tree6fa157cd862fcf55077db5f460101de0f2ff2d8d
parent7bd34ba252d3a215d5f52711f14063aa5a4664a4 (diff)
downloadccwl-6700ba0b21aa704753b928f378d2461754f378cc.tar.gz
ccwl-6700ba0b21aa704753b928f378d2461754f378cc.tar.lz
ccwl-6700ba0b21aa704753b928f378d2461754f378cc.zip
Makefile: Build skribilo configuration before documentation.
* Makefile.am ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on ccwl/skribilo.go instead of ccwl/skribilo.scm. * Makefile.am (clean-local): Delete ccwl/skribilo.go.
-rw-r--r--Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index d62897e..ffb842d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -92,11 +92,11 @@ $(SKRIBILO_BUILD_DIR)/%.cwl: doc/%.scm
info-local: $(SKRIBILO_BUILD_DIR)/ccwl.info
html-local: $(SKRIBILO_BUILD_DIR)/ccwl.html
-$(SKRIBILO_BUILD_DIR)/ccwl.info: doc/ccwl.skb ccwl/skribilo.scm $(DOC_IMAGES) $(DOC_OTHER_DEPENDENCIES)
+$(SKRIBILO_BUILD_DIR)/ccwl.info: doc/ccwl.skb ccwl/skribilo.go $(DOC_IMAGES) $(DOC_OTHER_DEPENDENCIES)
$(MKDIR_P) $(SKRIBILO_BUILD_DIR)
$(AM_V_GEN)$(top_builddir)/pre-inst-env $(SKRIBILO) -t info $< -o $@
-$(SKRIBILO_BUILD_DIR)/ccwl.html: doc/ccwl.skb ccwl/skribilo.scm $(DOC_IMAGES) $(DOC_OTHER_DEPENDENCIES)
+$(SKRIBILO_BUILD_DIR)/ccwl.html: doc/ccwl.skb ccwl/skribilo.go $(DOC_IMAGES) $(DOC_OTHER_DEPENDENCIES)
rm -rf $@
$(MKDIR_P) $@
$(AM_V_GEN)$(top_builddir)/pre-inst-env $(SKRIBILO) -t html $< -o $@/index.html
@@ -136,7 +136,7 @@ website/manual/dev/en: $(SKRIBILO_BUILD_DIR)/ccwl.html
$(MKDIR_P) $(dir $@)
cp -vr $< $@
-# The clean target depends on clean-local. We use clean-local to clean
-# up the website and the skribilo build directory.
+# The clean target depends on clean-local. Use clean-local to clean
+# up several artifacts not handled automatically by automake.
clean-local:
- rm -rf .depends website/index.html website/manual $(SKRIBILO_BUILD_DIR)
+ rm -rf .depends ccwl/skribilo.go website/index.html website/manual $(SKRIBILO_BUILD_DIR)