File: Makefile

package info (click to toggle)
laptop-mode-tools 1.74-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 876 kB
  • sloc: sh: 3,996; python: 195; makefile: 107
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