diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2002-10-07 07:44:31 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2002-10-07 07:44:31 +0000 |
commit | 78c812d9f44075238c2f3f8d46a51d574f383cd1 (patch) | |
tree | 61e6fe7ae3091022e6eadd158dbd86e54e3900fc /rfcomm | |
parent | c450127ad7b9705add1c299ec5340e59ff71fbe3 (diff) |
Install the default rfcomm.conf file
Diffstat (limited to 'rfcomm')
-rw-r--r-- | rfcomm/Makefile.am | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/rfcomm/Makefile.am b/rfcomm/Makefile.am index 6b7a9eee..83b1f3f2 100644 --- a/rfcomm/Makefile.am +++ b/rfcomm/Makefile.am @@ -2,12 +2,23 @@ # $Id$ # -sbin_PROGRAMS = rfcomm +mandir = $(prefix)/share/man +confdir = /etc/bluetooth + +bin_PROGRAMS = rfcomm rfcomm_SOURCES = main.c parser.h parser.y lexer.l kword.h kword.c +rfcomm_CONFIG = rfcomm.conf -man_MANS = rfcomm.8 +man_MANS = rfcomm.8 YFLAGS = -d CLEANFILES = lexer.c parser.c parser.h + +EXTRA_DIST = $(man_MANS) $(rfcomm_CONFIG) + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(confdir) + [ -f $(DESTDIR)$(confdir)/$(rfcomm_CONFIG) ] || \ + $(INSTALL_DATA) $(srcdir)/$(rfcomm_CONFIG) $(DESTDIR)$(confdir)/$(rfcomm_CONFIG) |