summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-03-31 19:49:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-03-31 19:49:50 +0000
commit51342992af3f09ffad66197aa84e5960e1fc4c28 (patch)
treef19c43811a1c519ce46fa0729bbb14a09a71d061 /include
parent4d97c2497c2bee809432ea3e48676fa61538bbef (diff)
Cleaner way of creating the bluetooth include link
Diffstat (limited to 'include')
-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