Add manpage comment.
[doldaconnect.git] / config / Makefile.am
... / ...
CommitLineData
1bin_PROGRAMS=locktouch tthsum dolconf
2libexec_PROGRAMS=speedrec
3
4speedrec_SOURCES=speedrec.c
5locktouch_SOURCES=locktouch.c
6tthsum_SOURCES=tthsum.c
7dolconf_SOURCES=dolconf.c
8BUILT_SOURCES=dolconf-assistant.gtk
9
10AM_CPPFLAGS=-I$(top_srcdir)/include
11tthsum_LDADD=$(top_srcdir)/common/libcommon.a
12
13dolconf.c: dolconf-assistant.desc
14localedir=$(datadir)/locale
15dolconf_LDFLAGS= $(shell pkg-config --libs gtk+-2.0) \
16 $(shell pkg-config --libs libxml-2.0)
17dolconf_CPPFLAGS= $(shell pkg-config --cflags gtk+-2.0) \
18 $(shell pkg-config --cflags libxml-2.0) \
19 -DLOCALEDIR=\"$(localedir)\"
20dolconf_LDADD= $(top_srcdir)/common/libcommon.a
21
22%.gtk: %.desc $(top_srcdir)/common/makegdesc
23 $(top_srcdir)/common/makegdesc $< >$@
24
25EXTRA_DIST=doldacond.conf dc-filter dc-filtercmd dolconf-assistant.desc
26
27install-data-local:
28 $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
29 for file in doldacond.conf; do \
30 if [ ! -e $(DESTDIR)$(sysconfdir)/$$file ]; then \
31 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(sysconfdir)/$$file; \
32 fi; \
33 done; \
34 for file in dc-filter dc-filtercmd; do \
35 if [ ! -e $(DESTDIR)$(sysconfdir)/$$file ]; then \
36 $(INSTALL) $(srcdir)/$$file $(DESTDIR)$(sysconfdir)/$$file; \
37 fi; \
38 done