From 51342992af3f09ffad66197aa84e5960e1fc4c28 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 31 Mar 2004 19:49:50 +0000 Subject: Cleaner way of creating the bluetooth include link --- include/Makefile.am | 8 ++++---- 1 file 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 -- cgit