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

* M ci Makefile

* A ci     makealfa.l
=====================================================
makealfa.l created to make the alfa version of lyskom.elc
parent cb15c1fc
......@@ -24,8 +24,14 @@
#
# $Id$
# $Log$
# Revision 35.4 1991/09/16 16:40:27 linus
# alfa talar om att det är alfa i versionsnumret.
# Revision 35.5 1991/09/16 18:02:02 linus
# * M ci Makefile
# * A ci makealfa.l
# =====================================================
# makealfa.l created to make the alfa version of lyskom.elc
#
# Revision 35.4 1991/09/16 16:40:27 linus
# alfa talar om att det {r alfa i versionsnumret.
#
# Revision 35.3 1991/09/15 10:07:04 linus
# Added copyright note
......@@ -37,6 +43,9 @@
# Lagt till lyskom-clientversion-long
#
include Topdir.make
include $(TOPDIR)/scripts/import.make
RM = /usr/gnu/bin/rm -vf
EMACS-BATCH = emacs -batch -l /usr/local/lib/elisp/bytecomp
......@@ -65,8 +74,9 @@ PARTS-ELC = $(SRC-ELC)
all: lyskom.elc
alfa: lyskom.elc
sed 's/^\(.*defconst.*clientversion[^"]*\)"\([^"]*\)"/\1"\2.alfa"/' < lyskom.elc > /usr/local/src/2kom/lyskom.elc
LEX = flex -8
alfa: lyskom.elc makealfa
./makealfa < lyskom.elc > /usr/local/src/2kom/lyskom.elc
lyskom.elc: $(HEADER-ELC) $(PARTS-ELC)
cat $(HEADER-ELC) $(PARTS-ELC) > lyskom.elc
......@@ -74,6 +84,9 @@ lyskom.elc: $(HEADER-ELC) $(PARTS-ELC)
lyskom.el: $(HEADER-EL) $(PARTS-EL)
cat $(HEADER-EL) $(PARTS-EL) > lyskom.el
makealfa: makealfa.c
$(CC) -o makealfa $(CFLAGS) makealfa.c -ll
elc-files: $(HEADER-ELC) $(PARTS-ELC)
......@@ -120,11 +133,11 @@ install: lyskom.elc lyskom.el doc
)
clean:
$(RM) *~ *.elc core
$(RM) *~ *.elc $(GENERIC-CLEAN) makealfa.c
-$(RM) -r distribution
distclean: clean
$(RM) TAGS Topdir.make */Topdir.make
$(RM) $(GENERIC-DIST-CLEAN) makealfa Topdir.make */Topdir.make
distrib distribution: lyskom.el lyskom.elc doc
......
%%
"clientversion \"0."[.0-9]+ { printf("%s.alfa",yytext); }
%%
\ No newline at end of file
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