blob: d085432a51cf95e0391fadec09081c674c9e96c5 (
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
|
include config.mk
.PHONY: all test clean install uninstall
all:
$(MAKE) -C src all
test: all
$(MAKE) -C tests
clean:
$(MAKE) -C src clean
install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f src/diff-dd ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/diff-dd
mkdir -p ${DESTDIR}${MANPREFIX}/man5
cp -f man/diff-dd.5 ${DESTDIR}${MANPREFIX}/man5/diff-dd.5
chmod 644 ${DESTDIR}${MANPREFIX}/man5/diff-dd.5
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/diff-dd \
${DESTDIR}${MANPREFIX}/man5/diff-dd.5
|