File: Makefile

package info (click to toggle)
pwrkap 7.30-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 464 kB
  • ctags: 491
  • sloc: python: 3,667; makefile: 134; sh: 101
file content (18 lines) | stat: -rw-r--r-- 412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Main build script
# (C) Copyright IBM Corp. 2008-2009
# Licensed under the GPLv2.

include ../Rules.mk
BUILD_FILES=ui_controller.py

all: $(BUILD_FILES)

clean:;
	rm -rf $(BUILD_FILES)

ui_controller.py: ui_controller.py.template
	sed -e 's|%PREFIX%|$(PREFIX)|g' < $^ > $@

install: all
	mkdir -p $(INST_PREFIX)$(PREFIX)/lib/pwrkap
	$(INSTALL) *.py -o root -g root -m 644 -t $(INST_PREFIX)$(PREFIX)/lib/pwrkap