summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/Makefile.am10
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)