blob: 0cc3686229880640a9599c5c4529b93a8ba713d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.POSIX:
PREFIX = /usr
DPREFIX = ${DESTDIR}${PREFIX}
MANDIR = ${DPREFIX}/share/man
all:
@echo 'run `tup` to build the library' >&2
install:
mkdir -p ${DPREFIX}/include ${DPREFIX}/lib ${DMANDIR}/man0 ${DMANDIR}/man3
cp src/liblux.a src/liblux.so ${DPREFIX}/lib
cp src/lux.h ${DPREFIX}/include
cp man/*.0 ${DMANDIR}/man0
cp man/*.3 ${DMANDIR}/man3
file=/usr/share/groff/site-tmac/mdoc.local; \
grep '^\.ds doc-str-Lb-liblux' $$file > /dev/null || \
cat man/Lb-desc.tmac >> $$file
clean:
rm -rf .tup/ src/*.[ao] src/*.so
|