diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-09 10:37:17 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-09 10:37:17 +0100 |
commit | eb55dc8fd6974ca6f3325d2d30e56c96f28d2876 (patch) | |
tree | 2b2421501c798d46479a52665202e6e616134691 /nx-libs.spec | |
parent | 939492d83d5be30d139519367e6c8451cef95608 (diff) | |
download | nx-libs-eb55dc8fd6974ca6f3325d2d30e56c96f28d2876.tar.gz nx-libs-eb55dc8fd6974ca6f3325d2d30e56c96f28d2876.tar.bz2 nx-libs-eb55dc8fd6974ca6f3325d2d30e56c96f28d2876.zip |
Drop not-used-anymore NX source tree clean-up code. Source tree has been cleaned up natively.
Diffstat (limited to 'nx-libs.spec')
-rw-r--r-- | nx-libs.spec | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index 93549d9d1..0085221c3 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -672,32 +672,6 @@ cp -v debian/x2goagent.keyboard etc/x2goagent.keyboard cp -v debian/VERSION VERSION.x2goagent cp -v debian/VERSION nxcomp/VERSION -### remove bundled libraries (also taken from roll-tarball.sh) -UNUSED_FOLDERS=`cat debian/CODE-REDUCTION_CLEANUP-UNUSED` -CLEANUP_FOLDERS=`cat debian/CODE-REDUCTION_CLEANUP-BRUTAL` -UNNEEDED_BACKUPS=`cat debian/CODE-REDUCTION_CLEANUP-BACKUPFILES` -PRESERVE_SYMLINKED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-SYMLINKED` -PRESERVE_INCLUDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-INCLUDED` -PRESERVE_NEEDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-NEEDED` -mkdir -p .preserve/ -for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NEEDED_FILES}; do - if [ ! -d $path ]; then - path_dirname=$(dirname "$path") - else - path_dirname="$path" - fi - mkdir -vp ".preserve/$path_dirname" - cp -av "$path" ".preserve/$path" -done -for path in ${UNUSED_FOLDERS} ${CLEANUP_FOLDERS} ${UNNEEDED_BACKUPS}; do - rm -R "$path" -done - -# re-create the to-be-preserved files -cp -a .preserve/* ./ -rm -Rf .preserve/ -### end of remove bundle libraries - # remove build cruft that is in Git (also taken from roll-tarball.sh) rm -Rf nx*/configure nx*/autom4te.cache* # Install into /usr |