summaryrefslogtreecommitdiffstats
path: root/solaris/Makefile
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-02-19 22:35:33 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-02-19 22:35:33 +0000
commitae82b3a118862bcc10f3d4ad01518e6328f31677 (patch)
tree543237f1a6cceb31574a6892292bdecab6258f66 /solaris/Makefile
parentd7ebfb7eb67c29350b3f5c67b301b8d6503d9831 (diff)
downloadbcfg2-ae82b3a118862bcc10f3d4ad01518e6328f31677.tar.gz
bcfg2-ae82b3a118862bcc10f3d4ad01518e6328f31677.tar.bz2
bcfg2-ae82b3a118862bcc10f3d4ad01518e6328f31677.zip
solaris sysV packaging (not tool) update; rebase on blastwave for sol10
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5086 ce84e21b-d406-0410-9b95-82705330c041
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