-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
37 lines (32 loc) · 1.04 KB
/
Makefile.am
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
32
33
34
35
36
bin_PROGRAMS = jfbterm
jfbterm_SOURCES = \
main.c main.h \
mytypes.h sequence.h \
fbcommon.c fbcommon.h \
fbdpsp.c fbdpsp.h \
font.c font.h \
picofont.c picofont.h \
getcap.c getcap.h \
message.c message.h \
pcf.c pcf.h \
pen.c pen.h \
term.c term.h \
util.c util.h \
csv.c csv.h \
vterm.c vtermlow.c vterm.h \
automata.c automata.h \
comp.c comp.h \
johabcode.c johabcode.h
jfbterm_LDADD = -lutil
JFBTERM_CONFIG_FILE = jfbterm.conf.sample
EXTRA_DIST = $(JFBTERM_CONFIG_FILE)
install-exec-hook:
chown root:utmp $(DESTDIR)$(bindir)/jfbterm
chmod ug+s $(DESTDIR)$(bindir)/jfbterm
install-data-local:
$(INSTALL) -d -m 755 $(DESTDIR)$(sysconfdir)
$(INSTALL_DATA) $(srcdir)/$(JFBTERM_CONFIG_FILE) $(DESTDIR)$(sysconfdir)/$(JFBTERM_CONFIG_FILE)
$(INSTALL) -d -m 755 $(DESTDIR)$(datadir)/fonts/jfbterm
$(INSTALL_DATA) $(srcdir)/fonts/*.pcf.gz $(DESTDIR)$(datadir)/fonts/jfbterm
$(INSTALL) -d -m 755 $(DESTDIR)$(sysconfdir)/jfbterm-han/keyboard
$(INSTALL_DATA) $(srcdir)/keyboard/* $(DESTDIR)$(sysconfdir)/jfbterm-han/keyboard