Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
pdschubert committed Jun 21, 2019
1 parent f948616 commit 4a16e81
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
18 changes: 18 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,24 @@ set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MIN
# package dependencies can be set-up here
# better use autogenerated dependency information
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
# set(CPACK_DEBIAN_PACKAGE_DEPENDS "libboost_program_options (>= 1.66.0),
# libboost_filesystem (>= 1.66.0),
# libboost_graph (>= 1.66.0),
# libboost_system (>= 1.66.0),
# libboost_log (>= 1.66.0),
# libboost_thread (>= 1.66.0),
# libsqlite3 (>= 4.5.0),
# libpthread (>= 4.5.0),
# libdl (>= 4.5.0),
# libcurl-gnutls (>= 4.5.0),
# librt (>= 4.5.0),
# libtinfo (>= 4.5.0),
# libz (>= 4.5.0),
# libm (>= 4.5.0),
# libstdc++ (>= 4.5.0),
# libgcc_s (>= 4.5.0),
# libc (>= 4.5.0),
# ld-linux-x86-64 (>= 4.5.0)")
set(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
set(CPACK_DEBIAN_PACKAGE_SECTION "kde")
set(CPACK_DEBIAN_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})
Expand Down
7 changes: 2 additions & 5 deletions githooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ local="$(git rev-parse --abbrev-ref HEAD)"

if [ "$local" = "master" ] ; then
version="#define PHASAR_VERSION v"
version=${version}$(date +"%m%y")
version="${version}"
rm include/phasar/Config/Version.h
touch include/phasar/Config/Version.h
echo "$version" > include/phasar/Config/Version.h
version="${version}$(date +"%m%y")"
echo "${version}" > include/phasar/Config/Version.h
fi

0 comments on commit 4a16e81

Please sign in to comment.