File: Makefile

package info (click to toggle)
dnsenum 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: perl: 1,948; makefile: 18
file content (16 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: default
default:
	pod2man dnsenum.pl > dnsenum.1

.PHONY: install
install:
	if [ "$${INSTALL_DEPS:-1}" = "1" ]; then \
		cpan install XML::Writer Net::Netmask Net::IP Net::DNS Net::Whois::IP HTML::Parser WWW::Mechanize String::Random; \
	fi
	install -D -m 644 dns.txt -t $(DESTDIR)/usr/share/dnsenum/
	install -D -m 644 dnsenum.1 -t $(DESTDIR)/usr/share/man/man1/
	install -D -m 755 dnsenum.pl $(DESTDIR)/usr/bin/dnsenum

.PHONY: clean
clean:
	rm -f dnsenum.1