Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 4c8c17f

Browse files
authored
Adds dist target to makefile. (#14)
1 parent 35e9247 commit 4c8c17f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,10 @@ target_link_libraries(test-medium
7979
/usr/local/lib/libgrpc.a
8080
pthread
8181
)
82+
83+
add_custom_target(dist
84+
DEPENDS snap-plugin-collector-rdt
85+
COMMAND cp ../NOTICE-binary ./NOTICE
86+
COMMAND tar czf snap-plugin-collector-rdt.tar.gz snap-plugin-collector-rdt NOTICE
87+
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
88+
)

NOTICE-binary

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Snap Plugin Collector RDT
2+
Copyright 2016 Intel Corporation.
3+
4+
This product includes Profobuf, a software developed by Google Inc.
5+
License is available at https://github.com/google/protobuf/blob/master/LICENSE.
6+
For more details see https://github.com/google/protobuf/
7+
8+
This product includes GRPC, a software developed by Google Inc which is available under a "3-clause BSD" License.
9+
For more details see https://github.com/grpc/grpc
10+
11+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
12+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
13+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
14+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
15+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
16+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
17+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
18+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
19+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
21+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
23+
Code generated by the Protocol Buffer compiler is owned by the owner
24+
of the input file used when generating it. This code is not
25+
standalone and requires a support library to be linked with it. This
26+
support library is itself covered by the above license.

0 commit comments

Comments
 (0)