xserver-multidpi/hw/Makefile.am
Yaakov Selkowitz 946b49ebcb Catch errors in recursive relink targets
If make relink fails in a subdirectory, we need to catch the error
otherwise make will continue iterating the 'for' loop.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-22 00:45:57 -05:00

42 lines
558 B
Makefile

if DMX
DMX_SUBDIRS = dmx
endif
if XORG
XORG_SUBDIRS = xfree86
endif
if XVFB
XVFB_SUBDIRS = vfb
endif
if XNEST
XNEST_SUBDIRS = xnest
endif
if XWIN
XWIN_SUBDIRS = xwin
endif
if KDRIVE
KDRIVE_SUBDIRS = kdrive
endif
if XQUARTZ
XQUARTZ_SUBDIRS = xquartz
endif
SUBDIRS = \
$(XORG_SUBDIRS) \
$(XWIN_SUBDIRS) \
$(XVFB_SUBDIRS) \
$(XNEST_SUBDIRS) \
$(DMX_SUBDIRS) \
$(KDRIVE_SUBDIRS) \
$(XQUARTZ_SUBDIRS)
DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive
relink:
$(AM_V_at)for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done