Commit f13191cc authored by Linus Tolke's avatar Linus Tolke
Browse files

Makefile now works with clientversion-long.

parent e2450f7e
...@@ -24,7 +24,10 @@ ...@@ -24,7 +24,10 @@
# #
# $Id$ # $Id$
# $Log$ # $Log$
# Revision 35.6 1991/09/16 19:31:37 linus # Revision 35.7 1991/09/16 19:59:28 linus
# Makefile now works with clientversion-long.
#
# Revision 35.6 1991/09/16 19:31:37 linus
# Makefile now works with new doc-file names. # Makefile now works with new doc-file names.
# #
# Revision 35.5 1991/09/16 18:02:02 linus # Revision 35.5 1991/09/16 18:02:02 linus
...@@ -105,22 +108,20 @@ elc-files: $(HEADER-ELC) $(PARTS-ELC) ...@@ -105,22 +108,20 @@ elc-files: $(HEADER-ELC) $(PARTS-ELC)
wc: wc:
wc $(HEADER-EL) $(PARTS-EL) wc $(HEADER-EL) $(PARTS-EL)
wc ../doc/elisp-client-`grep lyskom-clientversion vars.el | \ wc ../doc/elisp-client.latexinfo ChangeLog ../misc/To-do
sed -n 's/^.*defconst.*lyskom-clientversion.*"\(.*\)".*$$/\1/p'`.*\
ChangeLog ../misc/To-do
tags: tags:
etags $(HEADER-EL) $(PARTS-EL) etags $(HEADER-EL) $(PARTS-EL)
doc: doc:
(cd ../doc ; make elisp-client elisp-client.txt) ; ) (cd ../doc ; make elisp-client elisp-client.txt ; )
install: lyskom.elc lyskom.el doc install: lyskom.elc lyskom.el doc
cp lyskom.elc /usr/local/lib/elisp/lyskom.elc cp lyskom.elc /usr/local/lib/elisp/lyskom.elc
rcp lyskom.elc nanny:/usr/local/lib/elisp/lyskom.elc rcp lyskom.elc nanny:/usr/local/lib/elisp/lyskom.elc
(VER=`grep lyskom-clientversion lyskom.el | \ (VER=`grep "lyskom-clientversion " vars.el | \
sed -n 's/^.*defconst.*lyskom-clientversion.*"\(.*\)".*$$/\1/p'`;\ sed -n 's/^.*defconst.*lyskom-clientversion[^"]*"\([^"]*\)".*$$/\1/p'`;\
cp lyskom.elc lyskom-$${VER}.elc;\ cp lyskom.elc lyskom-$${VER}.elc;\
compress lyskom-$${VER}.elc;\ compress lyskom-$${VER}.elc;\
mv lyskom-$${VER}.elc.Z /usr/local/ftp/pub/lyskom/;\ mv lyskom-$${VER}.elc.Z /usr/local/ftp/pub/lyskom/;\
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment