diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-06-04 07:31:21 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-06-04 07:31:21 -0500 |
commit | 484d8100cdcdfa316cbf9568928697044cc331b8 (patch) | |
tree | daf52e08b4268a053567b059fc8adcf76ecb93ca /solaris-ips/Makefile | |
parent | d071bc08bfdaf154f1691999e5f413c7a3b634af (diff) | |
parent | 35232507f6eeefecdec77842f7b12209040f7a5c (diff) | |
download | bcfg2-484d8100cdcdfa316cbf9568928697044cc331b8.tar.gz bcfg2-484d8100cdcdfa316cbf9568928697044cc331b8.tar.bz2 bcfg2-484d8100cdcdfa316cbf9568928697044cc331b8.zip |
Merge branch 'maint' of https://github.com/danfoster/bcfg2 into maint
Diffstat (limited to 'solaris-ips/Makefile')
-rw-r--r-- | solaris-ips/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/solaris-ips/Makefile b/solaris-ips/Makefile new file mode 100644 index 000000000..343150dc5 --- /dev/null +++ b/solaris-ips/Makefile @@ -0,0 +1,20 @@ +#!/usr/bin/gmake + +VERS=1.2.4-1 +PYVERSION := $(shell python -c "import sys; print sys.version[0:3]") + +default: clean package + +package: + -mkdir tmp tmp/bcfg2-server tmp/bcfg2 + -mkdir -p build/lib/$(PYVERSION)/site-packages + -cd ../ && PYTHONPATH=$(PYTHONPATH):$(PWD)/build/lib/python2.6/site-packages/ python setup.py install --single-version-externally-managed --record=/dev/null --prefix=$(PWD)/build/usr + #setuptools appears to use a restictive umask + -chmod -R o+r build/ + -chmod +x build/usr/bin/bcfg2 + -sh ./gen-manifests.sh + +clean: + -rm -rf tmp build + -rm -rf MANIFEST.bcfg2 + -rm -rf MANIFEST.bcfg2-server |