[go: up one dir, main page]

File: Makefile

package info (click to toggle)
durep 0.9-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 416 kB
  • sloc: perl: 2,060; sh: 101; makefile: 23
file content (22 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Edit these locations as necessary
PREFIX		= /usr/local
CGI_PREFIX	= /usr/lib/cgi-bin
CSS_PREFIX	= /var/www/durep
PNG_PREFIX	= /var/www/durep
VERSION		= 0.9

# Make documentation
doc:
	pod2man --center="Disk Usage Report Generator" --release="durep version $(VERSION)" durep.pod > durep.1

# Make install
install: doc
	install -m 755 durep $(PREFIX)/bin
	install -m 644 durep.1 $(PREFIX)/man/man1
	install -m 644 durep.cgi $(CGI_PREFIX)
	install -m 644 style.css $(CSS_PREFIX)
	install -m 644 bar.png $(PNG_PREFIX)

# Clean all the crap up
clean:
	@rm -f *~