|
Lines 21-29
Link Here
|
| 21 |
send_to_keyboard_SOURCES = send_to_keyboard.c |
21 |
send_to_keyboard_SOURCES = send_to_keyboard.c |
| 22 |
endif |
22 |
endif |
| 23 |
|
23 |
|
| 24 |
xsendkeys_LDADD = -L/usr/X11R6/lib -L$(top_srcdir)/lineak -lXtst -llineak -lX11 |
24 |
xsendkeys_LDADD = $(X_LIBS) -L$(top_srcdir)/lineak -lXtst -llineak -lX11 |
| 25 |
xsendkeycode_LDADD = -L/usr/X11R6/lib -L$(top_srcdir)/lineak -lXtst -lX11 |
25 |
xsendkeycode_LDADD = $(X_LIBS) -L$(top_srcdir)/lineak -lXtst -lX11 |
| 26 |
#lsendcommand_LDADD = -L/usr/X11R6/lib -L$(top_srcdir)/lineak -llineak -lX11 |
26 |
#lsendcommand_LDADD = $(X_LIBS) -L$(top_srcdir)/lineak -llineak -lX11 |
| 27 |
|
27 |
|
| 28 |
xsendkeys_LDFLAGS = $(AM_CPPFLAGS) |
28 |
xsendkeys_LDFLAGS = $(AM_CPPFLAGS) |
| 29 |
xsendkeycode_LDFLAGS = $(AM_CPPFLAGS) |
29 |
xsendkeycode_LDFLAGS = $(AM_CPPFLAGS) |
|
Lines 52-78
Link Here
|
| 52 |
#install-data-local: send_to_keyboard.8.bz2 evtest.1.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 |
52 |
#install-data-local: send_to_keyboard.8.bz2 evtest.1.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 |
| 53 |
if EVTEST |
53 |
if EVTEST |
| 54 |
install-data-local: send_to_keyboard.8.bz2 evtest.1.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 |
54 |
install-data-local: send_to_keyboard.8.bz2 evtest.1.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 |
| 55 |
$(mkinstalldirs) $(mandir)/man1/ |
55 |
$(mkinstalldirs) ${DESTDIR}$(mandir)/man1/ |
| 56 |
$(INSTALL_DATA) $(srcdir)/evtest.1.bz2 $(mandir)/man1/evtest.1.bz2 |
56 |
$(INSTALL_DATA) $(srcdir)/evtest.1.bz2 ${DESTDIR}$(mandir)/man1/evtest.1.bz2 |
| 57 |
else |
57 |
else |
| 58 |
install-data-local: send_to_keyboard.8.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 |
58 |
install-data-local: send_to_keyboard.8.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 |
| 59 |
endif |
59 |
endif |
| 60 |
if SEND_TO_KEYBOARD |
60 |
if SEND_TO_KEYBOARD |
| 61 |
$(mkinstalldirs) $(mandir)/man8/ |
61 |
$(mkinstalldirs) ${DESTDIR}$(mandir)/man8/ |
| 62 |
chmod 755 $(DESTDIR)$(prefix)/sbin/send_to_keyboard |
62 |
chmod 755 $(DESTDIR)$(prefix)/sbin/send_to_keyboard |
| 63 |
if test "$(HELPER_SUID)" != "no" ; then \ |
63 |
if test "$(HELPER_SUID)" != "no" ; then \ |
| 64 |
chown root $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \ |
64 |
chown root $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \ |
| 65 |
chmod +s $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \ |
65 |
chmod +s $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \ |
| 66 |
fi |
66 |
fi |
| 67 |
$(INSTALL_DATA) $(srcdir)/send_to_keyboard.8.bz2 $(mandir)/man8/send_to_keyboard.8.bz2 |
67 |
$(INSTALL_DATA) $(srcdir)/send_to_keyboard.8.bz2 ${DESTDIR}$(mandir)/man8/send_to_keyboard.8.bz2 |
| 68 |
endif |
68 |
endif |
| 69 |
$(INSTALL_DATA) $(srcdir)/xsendkeycode.8.bz2 $(mandir)/man8/xsendkeycode.8.bz2 |
69 |
$(INSTALL_DATA) $(srcdir)/xsendkeycode.8.bz2 ${DESTDIR}$(mandir)/man8/xsendkeycode.8.bz2 |
| 70 |
$(INSTALL_DATA) $(srcdir)/xsendkeys.8.bz2 $(mandir)/man8/xsendkeys.8.bz2 |
70 |
$(INSTALL_DATA) $(srcdir)/xsendkeys.8.bz2 ${DESTDIR}$(mandir)/man8/xsendkeys.8.bz2 |
| 71 |
|
71 |
|
| 72 |
uninstall-local: |
72 |
uninstall-local: |
| 73 |
-rm -f $(mandir)/man8/send_to_keyboard.8.bz2 |
73 |
-rm -f ${DESTDIR}$(mandir)/man8/send_to_keyboard.8.bz2 |
| 74 |
-rm -f $(mandir)/man8/xsendkeycode.8.bz2 |
74 |
-rm -f ${DESTDIR}$(mandir)/man8/xsendkeycode.8.bz2 |
| 75 |
-rm -f $(mandir)/man8/xsendkeys.8.bz2 |
75 |
-rm -f ${DESTDIR}$(mandir)/man8/xsendkeys.8.bz2 |
| 76 |
if EVTEST |
76 |
if EVTEST |
| 77 |
-rm -f $(mandir)/man1/evtest.1.bz2 |
77 |
-rm -f ${DESTDIR}$(mandir)/man1/evtest.1.bz2 |
| 78 |
endif |
78 |
endif |