summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index f615705a..78afcf73 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -6,9 +6,9 @@ includedir = @includedir@/bluetooth
include_HEADERS = bluetooth.h hci.h hci_lib.h hci_uart.h hci_vhci.h l2cap.h sco.h rfcomm.h sdp.h sdp_lib.h sdp_internal.h
-bluetooth:
- ln -s . bluetooth
-all-local: bluetooth
+all-local:
+ @if [ ! -e bluetooth ] ; then ln -s $(top_srcdir)/include bluetooth ; fi
+
clean-local:
- rm -f bluetooth
+ @rm -f bluetooth