aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-07-04 23:43:59 +0530
committerArun Isaac2021-07-04 23:50:58 +0530
commitb767ab89d0bed2f612ad057b198a3757b81f408f (patch)
tree40ad479a29802bae886d53a0e530cef58968fb87
parent5b017d4dcff72745a4cc382511f0146b66aced7e (diff)
downloadccwl-b767ab89d0bed2f612ad057b198a3757b81f408f.tar.gz
ccwl-b767ab89d0bed2f612ad057b198a3757b81f408f.tar.lz
ccwl-b767ab89d0bed2f612ad057b198a3757b81f408f.zip
Makefile: Replace top_builddir with builddir.
Since we only have a top-level Makefile, top_builddir and builddir are the same. Use builddir in the interest of brevity. * Makefile.am (%.go, SCM_LOG_DRIVER, doc/ccwl.info, doc/ccwl.html): Replace top_builddire with builddir.
-rw-r--r--Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index a9ad6ca..f3bf68f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -65,7 +65,7 @@ CLEANFILES = $(GOBJECTS)
EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
%.go: %.scm
- $(GUILD_GEN)$(top_builddir)/pre-inst-env $(GUILD) compile $(GUILE_WARNINGS) -o "$@" "$<"
+ $(GUILD_GEN)$(builddir)/pre-inst-env $(GUILD) compile $(GUILE_WARNINGS) -o "$@" "$<"
moddir = $(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
godir = $(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
@@ -78,9 +78,9 @@ SCM_TESTS = tests/ccwl.scm tests/yaml.scm
TESTS = $(SCM_TESTS)
SCM_LOG_DRIVER = \
- $(top_builddir)/pre-inst-env \
+ $(builddir)/pre-inst-env \
$(GUILE) --no-auto-compile -s \
- $(top_builddir)/build-aux/test-driver.scm
+ $(builddir)/build-aux/test-driver.scm
EXTRA_DIST += \
$(TESTS) \
@@ -118,12 +118,12 @@ 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) $(SKRIBILO_FLAGS) -t info $< -o $@
+ $(SKRIBILO_GEN)$(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) $(SKRIBILO_FLAGS) -t html $< -o $@/index.html
+ $(SKRIBILO_GEN)$(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