File: 0005-remove_admin.patch

package info (click to toggle)
owncloud-client 2.11.0.8354%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,312 kB
  • sloc: cpp: 57,302; python: 2,694; ansic: 334; sh: 141; makefile: 62; xml: 7
file content (30 lines) | stat: -rw-r--r-- 840 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: =?utf-8?q?Sandro_Knau=C3=9F?= <hefee@debian.org>
Date: Mon, 19 Apr 2021 18:54:56 +0200
Subject: Ignore the admin directory completely

Origin: debian
Last-Update: 2014-10-11

In the admin directory are only files for windows and mac.
There are files with no opensource license, so we removed the dir completely.
Last-Update: 2014-10-11
---
 CMakeLists.txt | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3de6138..17f4cf3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -184,11 +184,6 @@ endif()
 
 if(BUILD_CLIENT)
     add_subdirectory(src)
-    if(NOT BUILD_LIBRARIES_ONLY)
-        if(IS_DIRECTORY ${CMAKE_SOURCE_DIR}/admin)
-            add_subdirectory(admin)
-        endif(IS_DIRECTORY ${CMAKE_SOURCE_DIR}/admin)
-    endif(NOT BUILD_LIBRARIES_ONLY)
 endif()
 
 if(BUILD_DOCS)