blob: dd891186bbe140440fa330a903d6d1b8fe270404 (
plain)
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
|
diff -ur audtty.orig/Makefile.in audtty/Makefile.in
--- audtty.orig/Makefile.in 2008-05-08 09:50:26.000000000 +0300
+++ audtty/Makefile.in 2008-07-05 09:36:31.000000000 +0300
@@ -20,18 +20,18 @@
all: audtty
audtty: ${BINS}
- cc -Wall -lncurses -laudclient ${LDFLAGS} -o audtty $(BINS)
+ $(CC) -Wall -lncurses -laudclient ${LDFLAGS} -o audtty $(BINS)
.c.o:
- cc -Wall ${AUDACIOUS_CFLAGS} ${CFLAGS} -o $@ -c $<
+ $(CC) -Wall ${AUDACIOUS_CFLAGS} ${CFLAGS} -o $@ -c $<
install: audtty
- mkdir -p ${bindir}
- install -m 0755 audtty ${bindir}/audtty
- mkdir -p ${mandir}
- install -m 0644 audtty.1 ${mandir}/audtty.1
- mkdir -p ${sysconfdir}
- install -m 0644 audtty.conf ${sysconfdir}/audtty.conf
+ mkdir -p $(DESTDIR)${bindir}
+ install -m 0755 audtty $(DESTDIR)${bindir}/audtty
+ mkdir -p $(DESTDIR)${mandir}
+ install -m 0644 audtty.1 $(DESTDIR)${mandir}/audtty.1
+ mkdir -p $(DESTDIR)${sysconfdir}
+ install -m 0644 audtty.conf $(DESTDIR)${sysconfdir}/audtty.conf
uninstall:
rm ${bindir}/audtty || false
|