Commit 7d5de539 authored by David Kågedal's avatar David Kågedal
Browse files

Separerade install och release.

parent a5be02fd
......@@ -25,6 +25,7 @@ versionen.
* Installera på Lysator och ftp
$ make install
$ make release
* Ändra versionsnumret i Makefilen
......@@ -25,7 +25,7 @@
# $Id$
#
CLIENTVERSION = 0.42-beta
CLIENTVERSION = 0.42
SHELL = /bin/sh
......@@ -128,6 +128,25 @@ $(SRC-ELC) $(SWEDISH-ELC) $(ENGLISH-ELC): macros.elc
elc-files: $(HEADER-ELC) $(PARTS-ELC)
lyskom-$(CLIENTVERSION).elc: lyskom.elc
cp lyskom.elc lyskom-$(CLIENTVERSION).elc
lyskom.elc-compatibility: lyskom.el
$(EMACS-BATCH) -l ./compatibility.el -f batch-byte-compile lyskom.el
mv lyskom.elc lyskom.elc-compatibility
lyskom-$(CLIENTVERSION).el.gz: lyskom.el
gzip -9 < lyskom.el > lyskom-$(CLIENTVERSION).el.gz
lyskom-$(CLIENTVERSION).elc.gz: lyskom-$(CLIENTVERSION).elc
gzip -9 < lyskom-$(CLIENTVERSION).elc > lyskom-$(CLIENTVERSION).elc.gz
english-lyskom-$(CLIENTVERSION).el.gz: english-lyskom.el
gzip -9 < english-lyskom.el > english-lyskom-$(CLIENTVERSION).el.gz
#Detta kr{ver gnu-make. Tyv{rr funkade inte $(SRC-ELC)-prylen l{ngre ner alls.
#Kanske denna $(SRC-ELC) pryl fungerar.
#$(SRC-ELC) :%.elc: %.el macros.elc
......@@ -147,27 +166,17 @@ TAGS: $(HEADER-EL) $(PARTS-EL) $(SWEDISH-EL) $(ENGLISH-EL)
doc:
(cd ../doc ; $(MAKE) elisp-client elisp-client.txt ; )
lyskom-$(CLIENTVERSION).elc: lyskom.elc
cp lyskom.elc lyskom-$(CLIENTVERSION).elc
lyskom.elc-compatibility: lyskom.el
$(EMACS-BATCH) -l ./compatibility.el -f batch-byte-compile lyskom.el
mv lyskom.elc lyskom.elc-compatibility
lyskom-$(CLIENTVERSION).el.gz: lyskom.el
gzip -9 < lyskom.el > lyskom-$(CLIENTVERSION).el.gz
lyskom-$(CLIENTVERSION).elc.gz: lyskom-$(CLIENTVERSION).elc
gzip -9 < lyskom-$(CLIENTVERSION).elc > lyskom-$(CLIENTVERSION).elc.gz
release: installatftp
( cd ../doc; $(MAKE) release )
install: installatlysator installatftp installdoc
install: installatlysator installdoc
installatlysator: lyskom.elc lyskom.el
cp lyskom.el lyskom.elc $(LISPDIR)
installatftp: lyskom-$(CLIENTVERSION).el.gz english-lyskom-$(CLIENTVERSION).el.gz
mv lyskom-$(CLIENTVERSION).el.gz $(FTPDIR)
mv english-lyskom-$(CLIENTVERSION).el.gz $(FTPDIR)
cp lyskom-$(CLIENTVERSION).el.gz $(FTPDIR)
cp english-lyskom-$(CLIENTVERSION).el.gz $(FTPDIR)
cp ../doc/NEWS-$(CLIENTVERSION) $(FTPDIR)
# This is now the responsability of the Makefile in the doc-dir.
......
Markdown is supported
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