summaryrefslogtreecommitdiffstats
path: root/cups/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-08-20 02:14:05 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-08-20 02:14:05 +0000
commit493a35c0e0d1c0ca44250f0fc35ed28bf6a0795e (patch)
treec262d798ccad310b046d1475d2d3f8783c27bbff /cups/Makefile.am
parent510ec5da4fcf0dd598dd0aa7dde6c0c698a1f2d1 (diff)
Install cups backend only when enabled
Diffstat (limited to 'cups/Makefile.am')
-rw-r--r--cups/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/cups/Makefile.am b/cups/Makefile.am
index 0d97b41e..3cb331c7 100644
--- a/cups/Makefile.am
+++ b/cups/Makefile.am
@@ -1,13 +1,15 @@
-if CUPS
cupsdir = $(libdir)/cups/backend
+if CUPS
cups_PROGRAMS = bluetooth
+else
+noinst_PROGRAMS = bluetooth
+endif
bluetooth_SOURCES = main.c sdp.c spp.c hcrp.c
bluetooth_LDADD = @BLUEZ_LIBS@
AM_CFLAGS = @BLUEZ_CFLAGS@
-endif
MAINTAINERCLEANFILES = Makefile.in