Mercurial > hg > xemacs-beta
comparison lisp/url/Makefile @ 2:ac2d302a0011 r19-15b2
Import from CVS: tag r19-15b2
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 08:46:35 +0200 |
| parents | 376386a54a3c |
| children |
comparison
equal
deleted
inserted
replaced
| 1:c0c6a60d29db | 2:ac2d302a0011 |
|---|---|
| 1 # Temp file to use to build .elc files | 1 # Temp file to use to build .elc files |
| 2 ELISP-TO-COMPILE = /tmp/elc-url-${USER} | 2 ELISP-TO-COMPILE = /tmp/elc-url-${USER} |
| 3 | 3 |
| 4 # what emacs is called on your system | 4 # what emacs is called on your system |
| 5 EMACS = xemacs | 5 EMACS = emacs |
| 6 | 6 |
| 7 # where the Info file should go | 7 # where the Info file should go |
| 8 INFODIR = . | 8 INFODIR = . |
| 9 | 9 |
| 10 # where the lisp files will be installed. | 10 # where the lisp files will be installed. |
| 17 # examples: | 17 # examples: |
| 18 # MAKEINFO = $(EMACS) -batch -q -f batch-texinfo-format | 18 # MAKEINFO = $(EMACS) -batch -q -f batch-texinfo-format |
| 19 # MAKEINFO = makeinfo | 19 # MAKEINFO = makeinfo |
| 20 MAKEINFO = makeinfo | 20 MAKEINFO = makeinfo |
| 21 | 21 |
| 22 # How to make a directory | 22 # Where your version of 'install' lives |
| 23 # need a -p if you want to make the parents! | 23 INSTALL = install |
| 24 MKDIR = mkdir | |
| 25 | 24 |
| 26 # Various other stuff used | 25 # Various other stuff used |
| 27 RM = rm -f | 26 RM = rm -f |
| 28 CP = cp | 27 CP = cp |
| 29 ############## no user servicable parts beyond this point ################### | 28 ############## no user servicable parts beyond this point ################### |
| 97 @echo Build of url complete... | 96 @echo Build of url complete... |
| 98 | 97 |
| 99 clean: | 98 clean: |
| 100 rm -f $(OBJECTS) | 99 rm -f $(OBJECTS) |
| 101 | 100 |
| 102 ChangeLog: | |
| 103 /usr/local/bin/rcs2log -h cs.indiana.edu -i 0 >| ChangeLog | |
| 104 | |
| 105 version: ChangeLog url.info | |
| 106 @echo -n "Creating new version " | |
| 107 @mkdir $(DIRNAME) | |
| 108 @./incvers | |
| 109 @co -q $(DISTFILES) | |
| 110 @rcs -q -s$(VTYPE)$(MAJOR)-$(MINOR)-`cat .version` url-vars.el | |
| 111 @rcs -q -s$(VTYPE)$(MAJOR)-$(MINOR)-`cat .version` url.texi | |
| 112 @co -q -kv $(SOURCES) docomp.el url.texi | |
| 113 @mv $(DISTFILES) $(DIRNAME) | |
| 114 @cp Makefile $(DIRNAME)/Makefile | |
| 115 @touch $(DIRNAME)/THIS-IS-VERSION-$(MAJOR).$(MINOR).`cat .version` | |
| 116 @mv ChangeLog url.info* $(DIRNAME) | |
| 117 @echo -n "$(MAJOR).$(MINOR)." | |
| 118 @echo `cat .version` | |
| 119 @tar czf url-$(MAJOR).$(MINOR).`cat .version`.tar.gz $(DIRNAME) | |
| 120 @rcs -nv$(MAJOR)-$(MINOR)-`cat .version`: $(SOURCES) | |
| 121 @rm -fr $(DIRNAME) | |
| 122 | |
| 123 url.html: url.texi | 101 url.html: url.texi |
| 124 @texi2html -menu -split_node -verbose url.texi | 102 @texi2html -menu -split_node -verbose url.texi |
| 125 | 103 |
| 126 url.info: url.texi | 104 url.info: url.texi |
| 127 @$(MAKEINFO) url.texi | 105 @$(MAKEINFO) url.texi |
| 134 url.cps url.fns url.kys url.pgs url.tps url.vrs \ | 112 url.cps url.fns url.kys url.pgs url.tps url.vrs \ |
| 135 url.log url.toc url.aux | 113 url.log url.toc url.aux |
| 136 | 114 |
| 137 install: url | 115 install: url |
| 138 @echo Installing in $(LISPDIR) | 116 @echo Installing in $(LISPDIR) |
| 139 if [ ! -d $(LISPDIR) ] ; then $(MKDIR) $(LISPDIR) ; fi | 117 $(INSTALL) -d $(LISPDIR) |
| 140 (cd $(LISPDIR) ; $(RM) $(SOURCES) $(OBJECTS) url-sysdp.el*) | 118 $(INSTALL) -m 644 $(SOURCES) $(OBJECTS) $(LISPDIR) |
| 141 $(CP) $(SOURCES) $(OBJECTS) $(LISPDIR) | 119 # $(INSTALL) -d $(INFODIR) |
| 142 if [ ! -d $(INFODIR) ] ; then $(MKDIR) $(INFODIR) ; fi | 120 # $(INSTALL) -m 644 url.info* $(INFODIR) |
| 143 $(CP) url.info* $(INFODIR) |
