Commits

adrian  committed 4ff851e

ALL xemacs-packages Makefiles to work for Native NT XEmacs <uya3t92gi.fsf@ecf.teradyne.com>

  • Participants
  • Parent commits 88c1e01
  • Tags package-release-20000710, sumo-2000-07-06

Comments (0)

Files changed (2)

+2000-06-25  AichnerAd  <aichner@ecf.teradyne.com>
+
+	* Makefile (PRELOADS): Use lisp instead of `pwd`.  Handle
+	Native-NT XEmacs command-line quoting.
+	* Makefile (INSERT_MEW_TEXI): Ditto.
+	* Makefile (mew.info): Use INSERT_MEW_TEXI.
+	* Makefile (mew.jis.info): Ditto.
+
 2000-05-23  Karl M. Hegbloom  <karlheg@debian.org>
 
 	* Makefile: Use BUILD_WITHOUT_MULE rather than BUILD_MULE.
 ELCS += mew/mew-lang-jp.elc
 endif
 
-PRELOADS = -eval "(push \"`pwd`/mew/\" load-path)"
+
+# APA: XEmacs native NT currently (2000-06-23) has shortcomings we
+# need to temporarily work around.
+ifeq ($(XEMACS_NATIVE_NT),t)
+# APA: XEmacs native NT currently needs this quoting of
+# command-line-rguments.
+PRELOADS = -eval "(push (expand-file-name \\\"mew\\\") load-path)" -l ./poe.el
+INSERT_MEW_TEXI = (insert-file-contents \\\"mew/info/mew.texi\\\")
+else
+PRELOADS = -eval "(push (expand-file-name \"mew\") load-path)" -l ./poe.el
+INSERT_MEW_TEXI = (insert-file-contents \"mew/info/mew.texi\")
+endif
 
 all:: $(AUTOLOAD_PATH)/auto-autoloads.elc $(ELCS) $(INFO_DEP)
 
 mew.info: mew/info/mew.texi
 	$(XEMACS) -batch -vanilla \
-		-eval "(insert-file-contents \"mew/info/mew.texi\")" \
+		-eval "$(INSERT_MEW_TEXI)" \
 		-l ./hack-mew.texi.el \
 		-l texinfmt -f texinfo-format-buffer \
 		-eval '(save-buffer 0)'
 ifeq ($(BUILD_WITHOUT_MULE),)
 mew.jis.info: mew/info/mew.texi
 	$(XEMACS) -batch -vanilla \
-		-eval "(insert-file-contents \"mew/info/mew.texi\")" \
+		-eval "$(INSERT_MEW_TEXI)" \
 		-l ./hack-mew-jis.texi.el \
 		-l texinfmt -f texinfo-format-buffer \
 		-eval '(setq file-coding-system (quote iso-2022-7))' \