Skip to content
This repository
Newer
Older
100644 26 lines (20 sloc) 0.55 kb
16264aa2 »
2012-02-11 Documentation improvements.
1 PREFIX?= /usr/local
2 BINDIR?= ${PREFIX}/bin
3 MANDIR?= ${PREFIX}/share/man
4 INSTALL?= install
5 INSTALLDIR= ${INSTALL} -d
6 INSTALLBIN= ${INSTALL} -m 755
7 INSTALLMAN= ${INSTALL} -m 644
8
9 all: fasd.1
10
11 uninstall:
12 rm -f ${DESTDIR}${BINDIR}/fasd
13 rm -f ${DESTDIR}${MANDIR}/man1/fasd.1
14
15 install:
16 ${INSTALLDIR} ${DESTDIR}${BINDIR}
17 ${INSTALLBIN} fasd ${DESTDIR}${BINDIR}
18 ${INSTALLDIR} ${DESTDIR}${MANDIR}/man1
19 ${INSTALLMAN} fasd.1 ${DESTDIR}${MANDIR}/man1
20
21 man: fasd.1
22
23 fasd.1: fasd.1.md
24 pandoc -s -w man fasd.1.md -o fasd.1
25
26 .PHONY: all install uninstall man
27
Something went wrong with that request. Please try again.