diff options
author | Arun Isaac | 2022-01-04 23:40:50 +0530 |
---|---|---|
committer | Arun Isaac | 2022-01-04 23:40:50 +0530 |
commit | 8e62f4667d2a4cc119469fe133fe82b4e3f56b0d (patch) | |
tree | 9f0c232b9cc811126c9324017d2dd92c3b261fbe | |
parent | 910f7405950a0aef98e4c58594867675ba48213b (diff) | |
download | kolam-8e62f4667d2a4cc119469fe133fe82b4e3f56b0d.tar.gz kolam-8e62f4667d2a4cc119469fe133fe82b4e3f56b0d.tar.lz kolam-8e62f4667d2a4cc119469fe133fe82b4e3f56b0d.zip |
Makefile: Install scm and go files.
* Makefile (scmdir, godir): New variables.
(install): New target.
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -26,6 +26,9 @@ EMACS = emacs sources = $(wildcard kolam/*.scm) objects = $(sources:.scm=.go) +scmdir = $(datarootdir)/guile/site/$(guile_effective_version)/kolam +godir = $(libdir)/guile/$(guile_effective_version)/site-ccache/kolam + all: $(objects) %.go: %.scm @@ -35,6 +38,13 @@ all: $(objects) check: $(GUILE) -L . tests/parse.scm +.PHONY: install +install: $(sources) $(objects) + mkdir -p $(scmdir) + mkdir -p $(godir) + install $(sources) $(scmdir) + install $(objects) $(godir) + website: website/index.html website/index.html: README.org build-aux/build-home-page.el |