File: Makefile

package info (click to toggle)
cpu-checker 0.7-1.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 29,948 kB
  • sloc: sh: 307; python: 54; makefile: 20
file content (21 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
VERSION=0.2
SCRIPTS=check-bios-nx kvm-ok

all:
	@# nothing to build, it's all scripts

install:
	for i in $(SCRIPTS); do \
		install -D -m 755 $$i $(DESTDIR)/usr/sbin/$$i; \
		install -D -m 644 $$i.1 $(DESTDIR)/usr/share/man/man1/$$i.1; \
	done

tarball:
	mkdir cpu-checker-$(VERSION)
	for i in $(SCRIPTS); do \
		cp -a $$i cpu-checker-$(VERSION)/; \
		cp -a $$i.1 cpu-checker-$(VERSION)/; \
	done
	cp -a Makefile test old update-notifier cpu-checker-$(VERSION)/
	tar --exclude test --exclude old --exclude update-notifier -czf ../cpu-checker-$(VERSION).tar.gz cpu-checker-$(VERSION)
	rm -rf cpu-checker-$(VERSION)