Skip to content

Commit

Permalink
Remove cpack (#107)
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 89ae60c commit 46d8398
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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
release.sh export-ignore

/build export-ignore
/temp export-ignore
/tmp export-ignore
12 changes: 0 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -381,15 +381,3 @@ lxqt_create_pkgconfig_file(
INSTALL
)
#************************************************


# building tarball with CPack -------------------------------------------------
include(InstallRequiredSystemLibraries)
set(CPACK_PACKAGE_VERSION_MAJOR ${LXQT_MAJOR_VERSION})
set(CPACK_PACKAGE_VERSION_MINOR ${LXQT_MINOR_VERSION})
set(CPACK_PACKAGE_VERSION_PATCH ${LXQT_PATCH_VERSION})
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 46d8398

Please sign in to comment.