Advertisement
algorithmuscanorj

Kile 2.1.3 building + installation script. (Slackware)

Jan 4th, 2013
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  1. #!/bin/bash
  2. # Run me as root
  3. export kileSource=`pwd`;
  4. export kileBuild=/opt/kile-build;
  5. export kileInstall=/opt/kile-install;
  6. mkdir $kileBuild;
  7. mkdir $kileInstall;
  8. cd $kileBuild;
  9. cmake $kileSource -DCMAKE_INSTALL_PREFIX=$kileInstall -DCMAKE_BUILD_TYPE="Debug";
  10. make -j 2
  11. make install -j 2
  12. # You might place apart the following in another file and use it from /bin as command shell invokation.
  13. KDEDIRS=$kileInstall:$KDEDIRS;
  14. $kileInstall/bin/kile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement