File: Makefile

package info (click to toggle)
laptop-mode-tools 1.71-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 896 kB
  • ctags: 76
  • sloc: sh: 3,824; python: 203; makefile: 101
file content (15 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

default:
	@echo "Please specify a make target: install, clean, version."
	
clean:
	rm -f `find . -name \*~`

# Get the version from usr/sbin/laptop_mode.
VERSION :=$(shell cat usr/sbin/laptop_mode | grep "LMTVERSION=" | sed 's/LMTVERSION=//g')

version:
	@echo $(VERSION)

install:
	./install.sh