summaryrefslogtreecommitdiffstats
path: root/solaris/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'solaris/Makefile')
-rw-r--r--solaris/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/solaris/Makefile b/solaris/Makefile
index 6f72a432a..9d177e4b6 100644
--- a/solaris/Makefile
+++ b/solaris/Makefile
@@ -1,13 +1,14 @@
#!/usr/sfw/bin/gmake
-VERS=0.6.8-2
+VERS=1.0-1
default: clean package
package:
-mkdir tmp tmp/bcfg2-server tmp/bcfg2
- -cd ../ && python setup.py install --prefix=$(PWD)
- -pkgmk -o -a `uname -m` -f prototype.bcfg2 -d $(PWD)/tmp -r $(PWD)
+ -cd ../ && /opt/csw/bin/python setup.py install --prefix=$(PWD)
+ -cat bin/bcfg2 | sed -e 's!/usr/bin/python!/opt/csw/bin/python!' > bin/bcfg2.new && mv bin/bcfg2.new bin/bcfg2
+ -pkgmk -o -a `uname -m` -f prototype.bcfg2 -d $(PWD)/tmp -r $(PWD)
-pkgmk -o -a `uname -m` -f prototype.bcfg2-server -d $(PWD)/tmp -r $(PWD)
-pkgtrans -o -s $(PWD)/tmp $(PWD)/bcfg2-$(VERS) SCbcfg2
-pkgtrans -o -s $(PWD)/tmp $(PWD)/bcfg2-server-$(VERS) SCbcfg2-server