guile-netlink/Makefile.am

Makefile.am

1
include guile.am
2
3
SOURCES= \
4
  netlink/acpi.scm \
5
  netlink/connection.scm \
6
  netlink/constant.scm \
7
  netlink/data.scm \
8
  netlink/error.scm \
9
  netlink/message.scm \
10
  netlink/standard.scm \
11
  netlink/deserialize.scm \
12
  netlink/route.scm \
13
  netlink/route/addr.scm \
14
  netlink/route/attrs.scm \
15
  netlink/route/link.scm \
16
  netlink/route/route.scm \
17
  ip/addr.scm \
18
  ip/link.scm \
19
  ip/route.scm \
20
  ip/utils.scm
21
22
info_TEXINFOS= doc/guile-netlink.texi
23
24
bin_SCRIPTS = acpi-listener
25
26
do_subst = sed	-e 's,%PREFIX%,${prefix},g'				\
27
		-e 's,%sbindir%,${sbindir},g'				\
28
		-e 's,%libexecdir%,${libexecdir},g'			\
29
		-e 's,%modsrcdir%,${guilesitedir},g'			\
30
		-e 's,%modbuilddir%,${guilesitegodir},g'		\
31
		-e 's,%localstatedir%,${localstatedir},g'		\
32
		-e 's,%pkglibdir%,${pkglibdir},g'			\
33
		-e 's,%sysconfdir%,${sysconfdir},g'			\
34
		-e 's,%localedir%,${localedir},g'			\
35
		-e 's,%VERSION%,@VERSION@,g'				\
36
		-e 's,%PACKAGE_BUGREPORT%,@PACKAGE_BUGREPORT@,g'	\
37
		-e 's,%PACKAGE_NAME%,@PACKAGE_NAME@,g'			\
38
		-e 's,%PACKAGE_URL%,@PACKAGE_URL@,g'			\
39
		-e 's,%GUILE%,$(GUILE),g'
40
41
acpi-listener : acpi-listener.in Makefile
42
	$(AM_V_GEN)$(MKDIR_P) bin ; \
43
	  $(do_subst) $< > $@ ; \
44
	  chmod a+x $@
45
46
CLEANFILES += acpi-listener
47