summaryrefslogtreecommitdiffstats
path: root/solaris/Makefile
diff options
context:
space:
mode:
authorZach Lowry <zach@mcs.anl.gov>2005-07-13 14:58:08 +0000
committerZach Lowry <zach@mcs.anl.gov>2005-07-13 14:58:08 +0000
commit3e0f9ef2141d1d366471723a5a27fd6cf3a1f4a0 (patch)
tree3c0a3abd48b183192705611ac6e666d35d9ea519 /solaris/Makefile
parenta318ce762ac107f5dc7ad9deb1257141fffa1fcf (diff)
downloadbcfg2-3e0f9ef2141d1d366471723a5a27fd6cf3a1f4a0.tar.gz
bcfg2-3e0f9ef2141d1d366471723a5a27fd6cf3a1f4a0.tar.bz2
bcfg2-3e0f9ef2141d1d366471723a5a27fd6cf3a1f4a0.zip
(Logical change 1.250)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1041 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'solaris/Makefile')
-rw-r--r--solaris/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/solaris/Makefile b/solaris/Makefile
index e69de29bb..6f72a432a 100644
--- a/solaris/Makefile
+++ b/solaris/Makefile
@@ -0,0 +1,20 @@
+#!/usr/sfw/bin/gmake
+
+VERS=0.6.8-2
+
+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)
+ -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
+ -gzip -f $(PWD)/bcfg2-$(VERS)
+ -gzip -f $(PWD)/bcfg2-server-$(VERS)
+
+clean:
+ -rm -rf tmp bin lib share
+ -rm -rf bcfg2-$(VERS).gz bcfg2-server-$(VERS).gz
+