From 423afa8eec9b87a2b011b9a55f67eaac08c027c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Thu, 21 Apr 2011 14:43:40 +0200
Subject: Fix .deb package generation.
Update the README instructions, too, since fakeroot is essential.
Ubuntu 11.04 did not want to accept the package previously.
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'CMakeLists.txt')
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9f1591e..151e000 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -304,7 +304,7 @@ endif (WIN32)
# CPack
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Schematic editor")
set (CPACK_PACKAGE_VENDOR "Premysl Janouch")
-set (CPACK_PACKAGE_CONTACT "p.janouch@gmail.com")
+set (CPACK_PACKAGE_CONTACT "Přemysl Janouch ")
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set (CPACK_PACKAGE_VERSION_MAJOR ${project_VERSION_MAJOR})
set (CPACK_PACKAGE_VERSION_MINOR ${project_VERSION_MINOR})
@@ -314,6 +314,7 @@ if (WIN32)
set (CPACK_GENERATOR "NSIS;ZIP")
else (WIN32)
set (CPACK_GENERATOR "TGZ;ZIP")
+ set (CPACK_SET_DESTDIR TRUE)
endif (WIN32)
set (CPACK_PACKAGE_FILE_NAME
--
cgit v1.2.3