File: Makefile.am

package info (click to toggle)
theme-d 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 12,784 kB
  • sloc: lisp: 47,684; sh: 4,200; makefile: 455; ansic: 319
file content (31 lines) | stat: -rw-r--r-- 727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

OBJECT_FILES = \
  runtime-theme-d-environment.go \
  params.go \
  theme-d-stdlib-support.go \
  theme-d-support.go

runtimedir = $(THEME_D_RUNTIME_DIR)
runtime_DATA = $(OBJECT_FILES)

scriptdir = $(THEME_D_SCRIPT_DIR)
script_DATA = run-theme-d-program.scm

%.go : %.scm
	GUILE_LOAD_PATH=../.. guild compile -o $@ $<

# Not sure if the following is necessary.
install-data-hook ::
	chmod 755 $(DESTDIR)/$(THEME_D_SCRIPT_DIR)/run-theme-d-program.scm

.PHONY:  mostlyclean-local-check

mostlyclean-local : mostlyclean-local-check

mostlyclean-local-check:
	-rm -f *.go
	-rm -f run-theme-d-program.scm

run-theme-d-program.scm : run-theme-d-program.scm.in
	sed -e 's|@guile_version@|$(MY_GUILE_VERSION)|g' $< > $@
	chmod 755 $@