Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
ceders-lyskom-elisp-client
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
ceders-lyskom-elisp-client
Commits
e5c405f8
Commit
e5c405f8
authored
24 years ago
by
Joel Rosdahl
Browse files
Options
Downloads
Patches
Plain Diff
Include build date in client version if built from a checked-out CVS module.
Somewhat crude, but maybe nice.
parent
532ef559
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile
+11
-4
11 additions, 4 deletions
src/Makefile
with
11 additions
and
4 deletions
src/Makefile
+
11
−
4
View file @
e5c405f8
...
@@ -127,7 +127,11 @@ all: $(TARGET)
...
@@ -127,7 +127,11 @@ all: $(TARGET)
vars.el
:
vars.el.in Makefile
vars.el
:
vars.el.in Makefile
rm
-f
vars.el
rm
-f
vars.el
sed
's/@@CLIENTVERSION@@/
$(
CLIENTVERSION
)
/g'
< vars.el.in
>
vars.el
if
test
-d
CVS
-a
x
$(
DO_RELEASE
)
=
x
;
then
\
sed
"s/@@CLIENTVERSION@@/
$(
CLIENTVERSION
)
(from CVS; built
`
date
+%Y-%m-%d
`
)/g"
< vars.el.in
>
vars.el
;
\
else
\
sed
's/@@CLIENTVERSION@@/
$(
CLIENTVERSION
)
/g'
< vars.el.in
>
vars.el
;
\
fi
chmod
444 vars.el
chmod
444 vars.el
%.elc
:
%.el _header.el
%.elc
:
%.el _header.el
...
@@ -172,8 +176,11 @@ install: $(TARGET) $(TARGET-EL)
...
@@ -172,8 +176,11 @@ install: $(TARGET) $(TARGET-EL)
release
:
release-files release-move
release
:
release-files release-move
release-files
:
$(HEADER) $(SOURCES) $(DISTSRC) $(MISC)
release-files
:
clean
mkdir
lyskom-
$(
CLIENTVERSION
)
$(
MAKE
)
do
-release-files
DO_RELEASE
=
1
do-release-files
:
$(HEADER) $(SOURCES) $(DISTSRC) $(MISC)
mkdir
-p
lyskom-
$(
CLIENTVERSION
)
cp
$(
HEADER
)
$(
SOURCES
)
$(
MISC
)
lyskom-
$(
CLIENTVERSION
)
cp
$(
HEADER
)
$(
SOURCES
)
$(
MISC
)
lyskom-
$(
CLIENTVERSION
)
for
i
in
$(
DISTFILES
)
;
do
\
for
i
in
$(
DISTFILES
)
;
do
\
sed
's/@@CLIENTVERSION@@/
$(
CLIENTVERSION
)
/g'
< distribution-
$$
i
\
sed
's/@@CLIENTVERSION@@/
$(
CLIENTVERSION
)
/g'
< distribution-
$$
i
\
...
@@ -231,6 +238,6 @@ clean:
...
@@ -231,6 +238,6 @@ clean:
lyskom-
$(
CLIENTVERSION
)
.tar.gz
\
lyskom-
$(
CLIENTVERSION
)
.tar.gz
\
lyskom-
$(
CLIENTVERSION
)
.zip
\
lyskom-
$(
CLIENTVERSION
)
.zip
\
lyskom-elisp-client-
$(
DEBIANCLIENTVERSION
)
lyskom-elisp-client-
$(
DEBIANCLIENTVERSION
)
$(
RM
)
*
~
*
.elc
$(
GENERIC-CLEAN
)
$(
RM
)
vars.el
*
.elc
$(
GENERIC-CLEAN
)
$(
RM
)
-r
build-stamp lyskom-elisp-client
*
.gz lyskom-elisp-client
*
.deb
\
$(
RM
)
-r
build-stamp lyskom-elisp-client
*
.gz lyskom-elisp-client
*
.deb
\
lyskom-elisp-client
*
.dsc lyskom-elisp-client
*
.changes
lyskom-elisp-client
*
.dsc lyskom-elisp-client
*
.changes
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment