1. Andreas Stenius
  2. oi-build

Commits

Norm Jacobs  committed b89eb90

Add locale facet tagging to IPS makefile rules

  • Participants
  • Parent commits e651c45
  • Branches default

Comments (0)

Files changed (2)

File make-rules/ips.mk

View file
  • Ignore whitespace
 PKGMOGRIFY_TRANSFORMS +=	$(WS_TOP)/transforms/actuators
 PKGMOGRIFY_TRANSFORMS +=	$(WS_TOP)/transforms/devel
 PKGMOGRIFY_TRANSFORMS +=	$(WS_TOP)/transforms/docs
+PKGMOGRIFY_TRANSFORMS +=	$(WS_TOP)/transforms/locale
 
 MANIFEST =	manifest-$(MACH)
 

File transforms/locale

View file
  • Ignore whitespace
 # general locale
 <transform dir file link hardlink path=.*/locale/.+ -> default facet.locale true>
 
+
+# The fix for
+#    Bug 16156
+#   pkgmogrify should allow backreferences in operation to match criteria
+# will allow something like
+#   <transform dir file link hardlink \
+#       path=.*/locale/(.+)(\..+){0,1}(/.+){0,1}$ -> \
+#       default facet.locale.%<\1> true>
+# to replace the rest of the transforms in this file
+
 # specific locale dirs 
 <transform dir file link hardlink path=.*/locale/af(/.+){0,1}$ -> \
     default facet.locale.af true>