repo.or.cz
/
hdata.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Makefile: add {,un}install targets
[hdata.git]
/
Makefile
blob
b4fbd4e4796ce94ef0b6b94aa9fefeda9e9589ab
1
PREFIX ?
= /
usr
2
3
hdata
:
4
ghc
--
make hdata
5
6
clean
:
7
rm
-
rf
*
.o
8
rm
-
rf
*
.hi
9
rm
-
rf
*
.db
10
rm
-
rf hdata
11
12
install
:
13
@mkdir
-
p
${
DESTDIR
}${
PREFIX
}/
bin
14
@cp
-
f hdata
${
DESTDIR
}${
PREFIX
}/
bin
15
@chmod
755
${
DESTDIR
}${
PREFIX
}/
bin
/
hdata
16
17
uninstall
:
18
@
rm
-
f
${
DESTDIR
}${
PREFIX
}/
bin
/
hdata