b7cab3590bc5b1dbd6832c9dfc1e8b7f598372fe
[genesis.git] / fuel / build / patch-packages / tr_example / 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-oslo.messaging_1.3.0-fuel5.1~mira4_all.deb $(ORIGISO)
26         @mkdir -p package/etc
27         @echo "Hello, world" > package/etc/hello.txt
28         ../tools/deb_pack $(REVSTATE)
29         @cp *.deb ../release/packages
30         @cat patch-replacements >> ../release/patch-replacements