nano_rpc included in packaging (#1961)
* include nano_rpc in package targets * protect nano_rpc from packaging if apple * Update CMakeLists.txt whitespace change * Revert "protect nano_rpc from packaging if apple" This reverts commit 69d8a597cd51adcdd4bb715a0e09178fd1db29f7.
This commit is contained in:
parent
90c649ca84
commit
05b6abcfd1
3 changed files with 8 additions and 0 deletions
|
@ -19,3 +19,9 @@ target_compile_definitions(nano_rpc
|
|||
-DNANO_VERSION_MAJOR=${CPACK_PACKAGE_VERSION_MAJOR}
|
||||
-DNANO_VERSION_MINOR=${CPACK_PACKAGE_VERSION_MINOR}
|
||||
-DNANO_VERSION_PATCH=${CPACK_PACKAGE_VERSION_PATCH})
|
||||
|
||||
install(TARGETS nano_rpc
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
|
|
|
@ -40,6 +40,7 @@ if [ ! %{buildroot} = "/" ]; then %{__rm} -rf %{buildroot}; fi
|
|||
mkdir -p %{buildroot}/usr/bin
|
||||
mkdir -p %{buildroot}/etc/systemd/system/
|
||||
cp nano_node %{buildroot}/usr/bin/nano_node-beta
|
||||
cp nano_rpc %{buildroot}/usr/bin/nano_rpc-beta
|
||||
cp etc/systemd/nanocurrency-beta.service %{buildroot}/etc/systemd/system/nanocurrency-beta.service
|
||||
|
||||
%clean
|
||||
|
|
|
@ -40,6 +40,7 @@ if [ ! %{buildroot} = "/" ]; then %{__rm} -rf %{buildroot}; fi
|
|||
mkdir -p %{buildroot}/usr/bin
|
||||
mkdir -p %{buildroot}/etc/systemd/system/
|
||||
cp nano_node %{buildroot}/usr/bin/nano_node
|
||||
cp nano_rpc %{buildroot}/usr/bin/nano_rpc
|
||||
cp etc/systemd/nanocurrency.service %{buildroot}/etc/systemd/system/nanocurrency.service
|
||||
|
||||
%clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue