Remove scripts dir from tarballs.
Remove original CMakeLists.txt after patching it. svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=908701
This commit is contained in:
parent
10b869ed3b
commit
c2d04d4552
|
@ -28,11 +28,15 @@ class PartitionManagerApp < Application
|
|||
end
|
||||
|
||||
def applyFixes(workingDir, outputDir)
|
||||
puts "applying fixes for partition manager"
|
||||
puts 'applying fixes for partition manager'
|
||||
|
||||
Dir.chdir "#{workingDir}/#{outputDir}"
|
||||
|
||||
return if !File.exists? 'doc'
|
||||
puts 'removing scripts subdir...'
|
||||
FileUtils.rm_rf 'scripts'
|
||||
|
||||
if File.exists? 'doc' then
|
||||
puts 'patching CMakeLists.txt to build docs only with new kdelibs...'
|
||||
|
||||
FileUtils.mv('CMakeLists.txt', 'CMakeLists.txt.orig')
|
||||
|
||||
|
@ -56,5 +60,6 @@ END_OF_TEXT
|
|||
|
||||
newFile.close
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue