Source

w3 / descrip.mms

# This file kindly written by Richard Levitte - GNU on VMS hacker
#                                               <levitte@vms.stacken.kth.se>
#
# Hacked upon by Bill Perry <wmperry@aventail.com>, whose VMS experiences
# are a thing of the past.  Let me know if this works or not.

# where the w3 lisp files should go
prefix  = gnu_root
lispdir = $(prefix):[emacs.site-lisp]
confdir = $(prefix):[emacs.w3]

DOTEMACS= $(prefix):[lib.emacs.site-lisp]default.el
SUBDIRS =lisp texi etc

RM        = delete
MKDIR	  = create/dir
ECHO      = write sys$output

.PHONY: $(SUBDIRS) dotemacs

all:	w3 info

w3 fast:
	set def [.lisp]
	mms $@
	set def [-]

html info dvi:
	set def [.texi]
	mms $@
	set def [-]

install: all dotemacs
	 set def [.lisp]
	 mms install
	 set def [-.texi]
	 mms install
	 set def [-.etc]
	 mms install
	 set def [-]

distclean: clean
	 set def [.lisp]
	 mms distclean
	 set def [-.texi]
	 mms distclean
	 set def [-.etc]
	 mms distclean
	 set def [-]
	 $(RM) config.* Makefile

clean:
	 set def [.lisp]
	 mms clean
	 set def [-.texi]
	 mms clean
	 set def [-.etc]
	 mms clean
	 set def [-]

dotemacs:
	@if (grep ";;; Emacs/W3 Configuration" $(DOTEMACS) 2>&1) >/dev/null; then \
		echo Emacs/W3 setup already exists in $(DOTEMACS);	\
	else								\
		test -d `dirname $(DOTEMACS)` || mkdir -p `dirname $(DOTEMACS)`; \
		(echo >> $(DOTEMACS)); \
		(echo ";;; Emacs/W3 Configuration" >> $(DOTEMACS)); \
		(echo "(setq load-path (cons \"$(lispdir)\" load-path))" >> $(DOTEMACS)); \
		(echo "(require 'w3-autoloads \"w3/auto-autoloads\")" >> $(DOTEMACS)); \
		echo "Added Emacs/W3 setup to $(DOTEMACS)"; \
	fi
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.