File: Makefile

package info (click to toggle)
debsecan 0.4.20.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 816 kB
  • sloc: python: 1,184; sh: 255; makefile: 19
file content (22 lines) | stat: -rw-r--r-- 639 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
.PHONY: test

# Configurable by the make invocation.  Only DESTDIR should need
# changing.
DESTDIR =
INSTALL = install

test:
	cd testsuite && sh run.sh

install:
	$(INSTALL) -d $(DESTDIR)/var/lib/debsecan
	$(INSTALL) -D -m 0755 src/debsecan \
		$(DESTDIR)/usr/bin/debsecan
	$(INSTALL) -D -m 0755 src/debsecan-create-cron \
		$(DESTDIR)/usr/sbin/debsecan-create-cron
	$(INSTALL) -D -m 0755 doc/debsecan.1 \
		$(DESTDIR)/usr/share/man/man1/debsecan.1
	$(INSTALL) -D -m 0755 doc/debsecan-create-cron.8 \
		$(DESTDIR)/usr/share/man/man8/debsecan-create-cron.8
clean:
	-rm -f testsuite/*/*.out testsuite/whitelist.test testsuite/whitelist.exp