--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,12 +38,6 @@
 ADD_DEFINITIONS (-DDATADIR="${CMAKE_INSTALL_PREFIX}/share")
 ADD_DEFINITIONS (-DBUILDTYPE="${CMAKE_BUILD_TYPE}")
 
-IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
-	SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
-	SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-deprecated-declarations")
-ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
-
 INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})
 LINK_DIRECTORIES (${GTK_LIBRARY_DIRS} ${VTE_LIBRARY_DIRS} ${X11_LIBRARY_DIRS})
 LINK_LIBRARIES (${GTK_LIBRARIES} ${VTE_LIBRARIES} ${X11_LIBRARIES} m)
@@ -57,7 +51,6 @@
 IF (POD2MAN)	
 	INSTALL (FILES ${sakura_BINARY_DIR}/sakura.1 DESTINATION share/man/man1)	
 ENDIF (POD2MAN)
-INSTALL (FILES INSTALL DESTINATION share/doc/sakura)	
 
 FILE (GLOB MO_FILES po/*.mo)
 
