diff options
author | theuni <theuni-nospam-@xbmc.org> | 2011-04-16 15:36:37 -0400 |
---|---|---|
committer | theuni <theuni-nospam-@xbmc.org> | 2011-04-16 15:36:37 -0400 |
commit | 347014d72774a896f089de3eb17b4f1c98839133 (patch) | |
tree | 65c20d30785bd2f42e7e77175569adb8cfba1788 /Makefile.in | |
parent | 9961d9b43a077b54c820b1e1c7f968366d527a87 (diff) |
fixed: don't build+install xrandr if explicitly disabled by configure
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 41a26e3062..a5248e43d2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -573,9 +573,8 @@ else endif xbmc-xrandr: xbmc-xrandr.c -ifeq ($(findstring osx,@ARCH@), osx) +ifneq (1,@USE_XRANDR@) # xbmc-xrandr.c gets picked up by the default make rules - # so only exclude it for osx builds @echo "excluding xbmc-xrandr" else $(CC) $(CFLAGS) $(LDFLAGS) -o xbmc-xrandr xbmc-xrandr.c -lXrandr -lX11 @@ -606,7 +605,9 @@ install-binaries: install-scripts @echo "Copying XBMC binary to $(DESTDIR)$(libdir)/xbmc/xbmc.bin" @install -d $(DESTDIR)$(libdir)/xbmc @install xbmc.bin $(DESTDIR)$(libdir)/xbmc/xbmc.bin +ifeq (1,@USE_XRANDR@) @install xbmc-xrandr $(DESTDIR)$(libdir)/xbmc/xbmc-xrandr +endif @echo "You can run XBMC with the command 'xbmc'" endif |