File: install_application

package info (click to toggle)
arc-gui-clients 0.4.6-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 25,484 kB
  • sloc: cpp: 11,077; python: 181; perl: 171; pascal: 165; ansic: 12; makefile: 7
file content (17 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python

import os, sys, shutil

buildDir = "./builddir"

if __name__ == '__main__':
	
	if not os.path.exists(buildDir):
		print "No builddir found please run configure first."
		sys.exit(1)

	currDir = os.getcwd()
	os.chdir(buildDir)
	os.system("make install")
	os.chdir(currDir)