XCOMM $Xorg: Imakefile,v 1.1 2002/06/09 05:42:52 gisburn Exp $
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"

SUBDIRS = attributes

XPLOCALEPRINTDIR=$(XPRINTDIR)/en_US/print

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

MakeDirectories(install,$(XPLOCALEPRINTDIR))

# We only have different values in "attributes", so link all other files
# to the "defaults" in the C locale
LINK_TO_C_LOCALE=Xprinters ddx-config models

install::
	( \
	  cd $(DESTDIR)$(XPLOCALEPRINTDIR) ; \
	  for i in $(LINK_TO_C_LOCALE) \
	  ; do \
	    $(RM) $$i ; \
	    $(LN) ../../C/print/$$i $$i ; \
	  done \
	)