Commits

Anonymous committed fb8f607

package Makefile overhaul -- remove explicit targets, explicit specification of generated .el files, etc; all is done using directives [i.e. variables], as documented in XEmacs.rules

  • Participants
  • Parent commits 6211016

Comments (0)

Files changed (2)

 
 DATA_FILES = 
 
-INFO_FILES = texi/lookup*.info*
+EXPLICIT_DOCS = texi/lookup.texi texi/lookup-guide.texi
 
-TEXI_FILES = texi/lookup.texi texi/lookup-guide.texi
+COMPILE_INFO_AS_MULE = t
 
 AUTOLOAD_PATH = lisp
 
 include ../../XEmacs.rules
-
-GENERATED += lisp/custom-load.elc
-
-.RECURSIVE: texi
-.PHONY: texi
-
-compile:: $(AUTOLOAD_PATH)/auto-autoloads.elc $(ELCS) \
-	$(AUTOLOAD_PATH)/custom-load.elc texi
-
-html:
-	cd texi && $(MAKE) html
-
-texi:
-	$(MAKE) EMACS=$(XEMACS) -C texi info
-
-binkit: binkit-common

File lisp/Makefile

 emacsdir = $(datadir)/emacs
 lispdir = $(datadir)/emacs/site-lisp/lookup
 
-SOURCES = evi.el evi-mule.el lookup.el lookup-utils.el lookup-types.el 	  lookup-defs.el lookup-vse.el lookup-package.el 	  lookup-entry.el lookup-content.el lookup-misc.el 	  ndic.el ndeb.el ndtp.el ndict.el ndnmz.el ndkks.el ndspell.el 	  ndcookie.el ndmisc.el stem-english.el
+SOURCES = evi.el evi-mule.el lookup.el lookup-utils.el lookup-types.el 	  lookup-vse.el lookup-package.el 	  lookup-entry.el lookup-content.el lookup-select.el 	  ndic.el ndeb.el ndtp.el ndict.el ndkks.el ndspell.el 	  ndcookie.el ndmisc.el ndsrd.el sdicf.el stem-english.el
 
 EXTRA_DIST = lookup-vars.el.in lookup-compile.el
 DISTCLEANFILES = lookup-vars.el
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pr $$/$$file $(distdir)/$$file; \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \