File: Makefile

package info (click to toggle)
odot 1.2.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, jessie, jessie-kfreebsd, lenny, squeeze, wheezy
  • size: 180 kB
  • ctags: 143
  • sloc: perl: 2,613; makefile: 51
file content (21 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PREFIX=/usr/local
BINDIR=${PREFIX}/bin
DATADIR=${PREFIX}/share
MANDIR=${DATADIR}/man
MAN1DIR=${MANDIR}/man1

all: manpage

manpage:
	pod2man odot.pod > odot.1

install: all
	mkdir -p ${DESTDIR}${BINDIR} ${DESTDIR}${MAN1DIR}
	install -m 0755 odot ${DESTDIR}${BINDIR}
	install -m 0644 odot.1 ${DESTDIR}${MAN1DIR}

uninstall:
	rm -f ${DESTDIR}${BINDIR}/odot ${DESTDIR}${MAN1DIR}/odot.1

clean:
	rm -f odot.1