-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.in
More file actions
37 lines (30 loc) · 776 Bytes
/
Makefile.in
File metadata and controls
37 lines (30 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
CC=@CC@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
prefix = @prefix@
datarootdir = @datarootdir@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
INSTALL = @INSTALL@
OBJS = hk.o
all: hk
hk: ${OBJS}
${CC} ${LDFLAGS} -o hk ${OBJS} -lX11
clean:
rm -f hk ${OBJS}
install: hk
install -d ${DESTDIR}${bindir}
install -c -m 555 hk ${DESTDIR}${bindir}
install -d ${DESTDIR}${mandir}/man1
install -c -m 444 hk.1 ${DESTDIR}${mandir}/man1/hk.1
distclean: clean
rm -rf configure Makefile autom4te.cache config.log config.status
distrib:
test "X`git status --porcelain`" = "X"
${MAKE} distclean
autoconf
@read v?'hk version: '; mkdir hk-$$v; \
cp `ls | grep -E -v "(autom4te.cache)|(hk-$$v)"` hk-$$v; \
tar cfz hk-$$v.tgz hk-$$v; rm -rf hk-$$v