diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-07-27 13:19:00 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-07-27 13:19:00 +0000 |
commit | 4b1de2688c4259152a4741651fb77659edcf401a (patch) | |
tree | 211da98a0383cfad70481c91d638861a639126f0 /hcid/Makefile.am | |
parent | c37be1ab2480c43fdaec098f75ec5e25a65ceb59 (diff) |
Restore creation of /etc/bluetooth/pin
Diffstat (limited to 'hcid/Makefile.am')
-rw-r--r-- | hcid/Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hcid/Makefile.am b/hcid/Makefile.am index 256eba76..ac56726e 100644 --- a/hcid/Makefile.am +++ b/hcid/Makefile.am @@ -33,3 +33,13 @@ CLEANFILES = lexer.c parser.c parser.h EXTRA_DIST = $(man_MANS) $(conf_DATA) dbus.c MAINTAINERCLEANFILES = Makefile.in + +pinfile = $(confdir)/pin + +install-data-local: + [ -f $(DESTDIR)$(pinfile) ] || \ + echo "BlueZ" > $(DESTDIR)$(pinfile); \ + chmod 600 $(DESTDIR)$(pinfile) + +uninstall-local: + @rm -f $(DESTDIR)$(pinfile) |