Skip to content
Snippets Groups Projects
Commit 75dffefc authored by sof's avatar sof
Browse files

[project @ 1998-02-09 12:41:41 by sof]

Perform UNC->DOS translation on what bash-cygwin32's pwd returns.
parent b7633cd5
No related merge requests found
...@@ -190,10 +190,14 @@ mk-version-symlinks :: ...@@ -190,10 +190,14 @@ mk-version-symlinks ::
fi;\ fi;\
done done
# Convert pwd's UNC reported path into DOS style
# (cygwin32 only.)
CURRENT_DIR = $(shell pwd | sed 's|^//\(.\)|\1:|' )
in-place :: in-place ::
$(MAKE) $(MFLAGS) config-pkgs bindir=`pwd`/bin/$(platform)/$(package)-$(version) libdir=`pwd`/lib/$(platform) datadir=`pwd`/share/$(package)-$(version) $(MAKE) $(MFLAGS) config-pkgs bindir=$(CURRENT_DIR)/bin/$(platform)/$(package)-$(version) libdir=$(CURRENT_DIR)/lib/$(platform) datadir=$(CURRENT_DIR)/share/$(package)-$(version)
$(MAKE) $(MFLAGS) mk-version-symlinks $(MAKE) $(MFLAGS) mk-version-symlinks
@echo "Finished configuring..to use, add `pwd`/bin/$(platform)/$(package)-$(version) to your PATH." @echo "Finished configuring..to use, add $(CURRENT_DIR)/bin/$(platform)/$(package)-$(version) to your PATH."
install-dirs :: install-dirs ::
$(INSTALL_DIR) $(bindir) $(INSTALL_DIR) $(bindir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment