File: Makefile

package info (click to toggle)
colordiff 1.0.9-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 136 kB
  • ctags: 5
  • sloc: perl: 341; xml: 152; makefile: 41; sh: 38
file content (13 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
DESTDIR ?=
INSTALL_DIR=$(DESTDIR)/usr/bin
MAN_DIR=$(DESTDIR)/usr/share/man/man1
ETC_DIR=$(DESTDIR)/etc

install:
	install -D colordiff.pl ${INSTALL_DIR}/colordiff
	install -D cdiff.sh ${INSTALL_DIR}/cdiff
	install -Dm 644 colordiff.1 ${MAN_DIR}/colordiff.1
	install -Dm 644 cdiff.1 ${MAN_DIR}/cdiff.1
	cp colordiffrc ${ETC_DIR}/colordiffrc
	chown root.root ${ETC_DIR}/colordiffrc
	chmod 644 ${ETC_DIR}/colordiffrc