Blob Blame History Raw
From ac541ea506a82ab699bff42829f697e46755eb12 Mon Sep 17 00:00:00 2001
From: Alec Leamas <leamas.alec@gmail.com>
Date: Mon, 30 Jan 2017 10:56:33 +0100
Subject: [PATCH 10/14] build: Remove cmake dist generation.

The cmake code is worse in at least two ways: It includes whatever
junk it finds in the source directory, and it isn't aware of the
lirc-driver-iguanair in the parent directory. The make-dist.sh
script just is better, so drop the cmake code.
---
 software/usb_ir/CMakeLists.txt | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/software/usb_ir/CMakeLists.txt b/software/usb_ir/CMakeLists.txt
index e056483..8a55372 100644
--- a/software/usb_ir/CMakeLists.txt
+++ b/software/usb_ir/CMakeLists.txt
@@ -15,18 +15,6 @@ Set(SO_AGE 3)
 
 Set(SOVERSION 0)
 
-# Source dist setup
-set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${FULLVER}")
-set(CPACK_SOURCE_IGNORE_FILES
-    "/build/;/.git/;~$;${CPACK_SOURCE_IGNORE_FILES}")
-set(CPACK_SOURCE_GENERATOR TGZ)
-include(CPack)
-
-add_custom_target(check_git ${CMAKE_COMMAND}
-                  -P ${CMAKE_SOURCE_DIR}/check_git_status.cmake)
-add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source
-                  DEPENDS check_git)
-
 #Set(TARGET_ANDROID true)
 
 If(TARGET_ANDROID)
-- 
2.9.3