To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=116349





------- Additional comments from [email protected] Wed Jan 19 11:27:05 +0000 
2011 -------
this still works but has a much shorter command line, like the original version

# Helper class

lc = $(patsubst A:%,a:%,$(patsubst B:%,b:%,$(patsubst C:%,c:%,$(patsubst
D:%,d:%,$(patsubst E:%,e:%,$(patsubst F:%,f:%,$(patsubst G:%,g:%,$(patsubst
H:%,h:%,$(patsubst I:%,i:%,$(patsubst J:%,j:%,$(patsubst K:%,k:%,$(patsubst
L:%,l:%,$(patsubst M:%,m:%,$(patsubst N:%,n:%,$(patsubst O:%,o:%,$(patsubst
P:%,p:%,$(patsubst Q:%,q:%,$(patsubst R:%,r:%,$(patsubst S:%,s:%,$(patsubst
T:%,t:%,$(patsubst U:%,u:%,$(patsubst V:%,v:%,$(patsubst W:%,w:%,$(patsubst
X:%,x:%,$(patsubst Y:%,y:%,$(patsubst Z:%,z:%,$1))))))))))))))))))))))))))

gb_Helper_SRCDIR_NATIVE := $(call lc,$(shell cygpath -m $(SRCDIR)))
gb_Helper_WORKDIR_NATIVE := $(call lc,$(shell cygpath -m $(WORKDIR)))
gb_Helper_OUTDIR_NATIVE := $(call lc,$(shell cygpath -m $(OUTDIR)))
gb_Helper_REPODIR_NATIVE := $(call lc,$(shell cygpath -m $(REPODIR)))

define gb_Helper_abbreviate_dirs_native
R=$(gb_Helper_REPODIR_NATIVE) && $(subst $(REPODIR)/,$$R/,$(subst
$(gb_Helper_REPODIR_NATIVE)/,$$R/,O=$(gb_Helper_OUTDIR_NATIVE) &&
W=$(gb_Helper_WORKDIR_NATIVE) && S=$(gb_Helper_SRCDIR_NATIVE))) && \
$(subst $(REPODIR)/,$$R/,$(subst $(SRCDIR)/,$$S/,$(subst $(OUTDIR)/,$$O/,$(subst
$(WORKDIR)/,$$W/,$(subst $(gb_Helper_REPODIR_NATIVE)/,$$R/,$(subst
$(gb_Helper_SRCDIR_NATIVE)/,$$S/,$(subst
$(gb_Helper_OUTDIR_NATIVE)/,$$O/,$(subst
$(gb_Helper_WORKDIR_NATIVE)/,$$W/,($1)))))))))
endef


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to