File: Makefile

package info (click to toggle)
changetrack 3.7-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 168 kB
  • ctags: 22
  • sloc: perl: 279; sh: 239; makefile: 56
file content (23 lines) | stat: -rw-r--r-- 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Makefile for the changetrack Debian package.

# The original changetrack source does not include a Makefile,
# so this file only serves the creation of a Debian package.

DESTDIR =
BIN     = $(DESTDIR)/usr/bin
MAN     = $(DESTDIR)/usr/share/man/man1
ETC     = $(DESTDIR)/etc
LIB     = $(DESTDIR)/var/lib/changetrack

install: changetrack.1
	install -d $(BIN) $(MAN) $(ETC) $(DEF)
	install -d -m700 $(LIB)
	install -m755 ./changetrack $(BIN)
	install -m644 ./changetrack.1 $(MAN)
	install -m644 ./changetrack.conf $(ETC)

changetrack.1: changetrack.man
	cp $^ $@

clean:
	rm -f changetrack.1