Remove cpack (#107)
authorAlf Gaida <agaida@siduction.org>
Fri, 30 Sep 2016 15:07:28 +0000 (17:07 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Sep 2016 15:07:28 +0000 (17:07 +0200)
* remove "building with cpack" from CMakeLists.txt - not used anymore
* Added very basic .gitattributes

.gitattributes [new file with mode: 0644]
CMakeLists.txt

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..8881a7a
--- /dev/null
@@ -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
index 7cc6fc8..ad5607e 100644 (file)
@@ -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)
-