Commits

Anonymous committed 16a64fa

Support for building with XEmacs/no-Mule

  • Participants
  • Parent commits 769067e

Comments (0)

Files changed (2)

+1998-07-23  SL Baur  <steve@altair.xemacs.org>
+
+	* Makefile: Allow for building with XEmacs/no-Mule.
+	Make autoloads generation work without XEmacs/Mule.
+
 1998-04-10  SL Baur  <steve@altair.xemacs.org>
 
 	* font-latex.el-0.603.
 
 # remove the MULE_ELCS line for building without Mule.
 
-VERSION = 1.09
+VERSION = 1.10
 AUTHOR_VERSION = 9.7p
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = auctex
 CATEGORY = wp
 
 ELCS = auc-old.elc bib-cite.elc font-latex.elc latex.elc \
-	multi-prompt.elc tex-buf.elc tex-info.elc tex.elc \
-	etc/amsart.elc etc/amsbook.elc etc/amstex.elc etc/article.elc \
+	multi-prompt.elc tex-buf.elc tex-info.elc tex.elc
+
+ETC_ELCS = etc/amsart.elc etc/amsbook.elc etc/amstex.elc etc/article.elc \
 	etc/book.elc etc/danish.elc etc/slovak.elc etc/czech.elc \
 	etc/amsmath.elc etc/amstext.elc etc/amsbsy.elc etc/amsopn.elc \
 	etc/amsthm.elc etc/natbib.elc etc/dinbrief.elc etc/dk.elc \
 	etc/letter.elc etc/plfonts.elc etc/plhb.elc etc/psfig.elc \
 	etc/report.elc etc/slides.elc etc/swedish.elc etc/virtex.elc
 
-MULE_ELCS = tex-jp.elc
-
 PRELOADS = -l ./lpath.el
 
 include ../../XEmacs.rules
 
-all:: $(ELCS) $(MULE_ELCS) auto-autoloads.elc custom-load.elc texi
+ifeq ($(BUILD_MULE),t)
+MULE_ELCS = tex-jp.elc
+else
+MULE_ELCS =
+endif
+
+all:: $(ELCS) $(MULE_ELCS) $(ETC_ELCS) auto-autoloads.elc custom-load.elc texi
+
+auto-autoloads.el: $(ELCS:.elc=.el) $(MULE_ELCS:.elc=.el)
+	@touch auto-autoloads.el
+	$(XEMACS) $(VANILLA) -batch \
+		-eval "(setq autoload-package-name \"$(PACKAGE)\")" \
+		-l autoload -f batch-update-autoloads $^
 
 clean::
 	rm -f texi/*.info*