Skip to content

Commit

Permalink
Remove cpack (#44)
Browse files Browse the repository at this point in the history
* remove "building with cpack" from CMakeLists.txt - not used anymore

* Added very basic .gitattributes
  • Loading branch information
agaida committed Sep 30, 2016
1 parent 28fa074 commit 645eb64
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
17 changes: 17 additions & 0 deletions .gitattributes
@@ -0,0 +1,17 @@
# remove files from deployment using `git archive`

# git files
.gitattributes export-ignore
.gitignore export-ignore


# several files and directories we never want to export
# a little bit belt and braces as the most of these files
# should never ever be in the repository

.*~ export-ignore
.kdev4 export-ignore

/build export-ignore
/temp export-ignore
/tmp export-ignore
15 changes: 0 additions & 15 deletions CMakeLists.txt
Expand Up @@ -98,18 +98,3 @@ if(BUILD_DOCUMENTATION)
COMPONENT Devel
)
endif()

# building tarball with CPack -------------------------------------------------
# To create a source distribution, type:
# make package_source
include(InstallRequiredSystemLibraries)
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
set(CPACK_PACKAGE_VENDOR "")
set(CPACK_PACKAGE_VERSION_MAJOR ${LIBFM_QT_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${LIBFM_QT_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${LIBFM_QT_VERSION_PATCH})
set(CPACK_GENERATOR TBZ2)
set(CPACK_SOURCE_GENERATOR TBZ2)
set(CPACK_SOURCE_IGNORE_FILES /build/;.gitignore;.*~;.git;.kdev4;temp)
include(CPack)

0 comments on commit 645eb64

Please sign in to comment.