Cutecash: Add install and packaging rules.

Running "make package" will produce a binary package.
Running "make package_source" will produce a source package.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19020 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-04-12 19:21:14 +00:00
parent 08c36773ec
commit a5a476ebca
2 changed files with 22 additions and 0 deletions

View File

@ -119,3 +119,23 @@ ENDIF (MINGW)
# The subdirectories
ADD_SUBDIRECTORY (src)
# ############################################################
# Package creation rules
SET (CPACK_PACKAGE_NAME "Cutecash")
SET (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Cutecash Free Finance Software")
SET (CPACK_PACKAGE_VENDOR "Christian Stimming")
SET (CPACK_PACKAGE_VERSION_MAJOR "0")
SET (CPACK_PACKAGE_VERSION_MINOR "1")
SET (CPACK_PACKAGE_VERSION_PATCH "0")
SET (CPACK_SOURCE_IGNORE_FILES "/\\\\.svn/;/\\\\.git/;.*~;build.*;html;Debug;Release")
SET (CPACK_STRIP_FILES "bin/cutecash")
#SET (CPACK_PACKAGE_EXECUTABLES "bin/carclient")
IF(UNIX)
SET(CPACK_GENERATOR "TGZ")
ENDIF(UNIX)
INCLUDE (CPack)

View File

@ -114,3 +114,5 @@ IF (WIN32)
ENDIF (WIN32)
TARGET_LINK_LIBRARIES (cutecash ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY})
INSTALL (TARGETS cutecash RUNTIME DESTINATION bin)