File: Makefile.am

package info (click to toggle)
theme-d-intr 0.20.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,876 kB
  • sloc: lisp: 1,701; xml: 730; sh: 564; makefile: 283
file content (31 lines) | stat: -rw-r--r-- 837 bytes parent folder | download | duplicates (2)
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

.PHONY: mostlyclean-local mostlyclean-local-check

SCRPTSB = generate-intr-body \
          generate-intr-interface \
	  generate-intr-target-module \
	  describe-cb-type

SCMSCRIPTS = $(patsubst %,%.scm,$(SCRPTSB))

# When uninstalled environment is used we need to be able to invoke
# the scripts in the source directory.

$(SCMSCRIPTS): %.scm: %.scm.in
	sed -e 's|@theme_d_guile@|$(THEME_D_GUILE)|g' $< > $@
	chmod 755 $@

scriptdir = $(SCRIPT_DIR)
script_DATA = $(SCMSCRIPTS)

mostlyclean-local : mostlyclean-local-check

mostlyclean-local-check :
	-rm $(SCMSCRIPTS)

install-data-hook:
	chmod 755 $(DESTDIR)$(SCRIPT_DIR)/generate-intr-body.scm
	chmod 755 $(DESTDIR)$(SCRIPT_DIR)/generate-intr-interface.scm
	chmod 755 $(DESTDIR)$(SCRIPT_DIR)/generate-intr-target-module.scm
	chmod 755 $(DESTDIR)$(SCRIPT_DIR)/describe-cb-type.scm