Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/sml-mode/Makefile
ViewVC logotype

Diff of /sml/trunk/sml-mode/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 394, Mon Aug 9 21:45:51 1999 UTC revision 395, Wed Aug 11 20:48:17 1999 UTC
# Line 21  Line 21 
21    
22  # the directory where you install third-party emacs packges  # the directory where you install third-party emacs packges
23  lispdir = $(datadir)/emacs/site-lisp  lispdir = $(datadir)/emacs/site-lisp
24    startupfile = $(lispdir)/site-start.el
25    
26  # the directory where you installed the elib .elc files.  # the directory where you installed the elib .elc files.
27  # This is only needed if your site-start.el (or default.el) does not  # This is only needed if your site-start.el (or default.el) does not
# Line 62  Line 63 
63  .SUFFIXES: .elc .el .info .ps .dvi .texi  .SUFFIXES: .elc .el .info .ps .dvi .texi
64  .PHONY: elcfiles info clean distclean default  .PHONY: elcfiles info clean distclean default
65  .PHONY: install_startup install_elc install install_el install_info  .PHONY: install_startup install_elc install install_el install_info
66    .PHONY: dvi postscript
67    
68  .el.elc:  .el.elc:
69          $(ELC) $<          $(ELC) $<
# Line 97  Line 99 
99    
100  install_startup:  install_startup:
101          $(MKDIR) $(lispdir)          $(MKDIR) $(lispdir)
102          if grep $(PACKAGE) $(lispdir)/site-start.el >/dev/null 2>&1 || \          if grep $(PACKAGE) $(startupfile) >/dev/null 2>&1 || \
103             grep $(PACKAGE) $(lispdir)/default.el >/dev/null 2>&1; then \             grep $(PACKAGE) $(lispdir)/default.el >/dev/null 2>&1; then \
104              echo "!!! Check $(PACKAGE)-startup.el and merge it" \              echo "!!! Check $(PACKAGE)-startup.el and merge it" \
105              echo "!!! into your $(lispdir)/site-start.el file"; \              echo "!!! into your $(startupfile) file"; \
106          else \          else \
107              sed 's|@elcdir@|$(elcdir)|' \              sed 's|@elcdir@|$(elcdir)|' \
108                  $(PACKAGE)-startup.el >>$(lispdir)/site-start.el ;\                  $(PACKAGE)-startup.el >>$(startupfile) ;\
109          fi          fi
110    
111  install_dvi: $(PACKAGE).dvi  postscript: $(PACKAGE).ps
112    dvi: $(PACKAGE).dvi
113    install_dvi: dvi
114          $(MKDIR) $(docdir)          $(MKDIR) $(docdir)
115          $(CP) *.dvi $(docdir)/          $(CP) *.dvi $(docdir)/
116    

Legend:
Removed from v.394  
changed lines
  Added in v.395

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0