Commit 610ae04a authored by Christer Ekholm's avatar Christer Ekholm

* Makefile (version.el): Don't chmod 444 version.el.

There is no need to. And if it's writable we don't need to have rm -f
too.
parent ad700fc4
2014-08-26 Christer Ekholm <che@chrekh.se>
* Makefile (version.el): Don't chmod 444 version.el. There is no
need to. And if it's writable we don't need to have rm -f too.
2014-08-25 Christer Ekholm <che@chrekh.se>
* Makefile: Removed target fast: make fast doesn't work anymore,
......
......@@ -143,9 +143,7 @@ EMACS-BATCH := $(EMACS) -batch
all: $(TARGET)
version.el: version.el.in Makefile $(HEADER1) $(HEADER2) $(LANGUAGE-EL) $(SOURCES)
rm -f $@
sed "s/@@CLIENTVERSION@@/$(CLIENTVERSION) (`date +%Y-%m-%d`; Git `git rev-parse --short HEAD``git diff --quiet HEAD||echo '*'`)/g" <$< >$@
chmod 444 $@
version.el-release: version.el.in Makefile $(HEADER1) $(HEADER2) $(LANGUAGE-EL) $(SOURCES)
sed 's/@@CLIENTVERSION@@/$(CLIENTVERSION)/g' <$< >$@
......
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