projects
/
ganeti-local
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First try to embed VCS id in binaries
[ganeti-local]
/
src
/
Makefile
1
all: hn1 hbal
2
3
hn1: Version.hs
4
ghc --make -O2 -W hn1
5
6
hbal: Version.hs
7
ghc --make -O2 -W hbal
8
9
clean:
10
rm -f *.o *.old hn1 hbal *.prof *.ps *.stat *.aux \
11
*.hi README.html TAGS Version.hs
12
13
Version.hs: Version.hs.in ../version
14
sed -e "s/%ver%/$$(cat ../version)/" < $< > $@
15
16
.PHONY : all clean hn1 hbal