Version 0.0.1 of /fuel-bild
[genesis.git] / fuel-build / patch-packages / python-nova / Makefile
1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 # stefan.k.berg@ericsson.com
4 # jonas.bjurel@ericsson.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 TOP := $(shell pwd)
12
13 .PHONY: all
14 all:
15
16 .PHONY: clean
17 clean:
18         @rm -rf package
19         @rm -rf *.deb
20         @rm -rf patch-replacements
21         @rm -rf .package
22
23 .PHONY: release
24 release:
25         ../tools/deb_unpack python-nova_2014.1.3-fuel5.1.1~mira3_all.deb $(ORIGISO)
26         patch -s -p0 < nova-console.patch
27         ../tools/deb_pack $(VERSION)
28         @cp *.deb ../release/packages
29         @cat patch-replacements >> ../release/patch-replacements