aboutsummaryrefslogtreecommitdiff
path: root/vo/mkpkg
diff options
context:
space:
mode:
Diffstat (limited to 'vo/mkpkg')
-rw-r--r--vo/mkpkg118
1 files changed, 118 insertions, 0 deletions
diff --git a/vo/mkpkg b/vo/mkpkg
new file mode 100644
index 00000000..65e84ee0
--- /dev/null
+++ b/vo/mkpkg
@@ -0,0 +1,118 @@
+# Make the package.
+
+$call update
+$exit
+
+update:
+ $echo "---------------------VO SRC ----------------------"
+ $call update@src
+ $echo "------------------ VO VOTOOLS --------------------"
+ $call update@votools
+ ;
+
+# STRIP -- Strip the package directories of all sources and other files
+# not required to run the system, or for user programming.
+
+strip:
+ !rmfiles -f lib/strip
+ ;
+
+
+# SUMMARY -- [UNIX] mkpkg summary: output a summary of the spooled mkpkg
+# output, omitting most of the mundane chatter. Used to scan large spool
+# files for errors.
+
+summary:
+ $ifeq (HOSTID, unix)
+ $ifndef (spool)
+ $set spool = spool
+ $endif
+ ! grep -v ':$$' spool | grep -v '^xc' | grep -v '^ar'\
+ | grep -v '^check file'
+ $else
+ $echo "mkpkg summary only available on a UNIX system"
+ $endif
+ ;
+
+
+# IRAF multiple architecture support.
+# ----------------------------------------
+
+arch: # show current float option
+showfloat:
+ $verbose off
+ !$(hlib)/mkfloat.csh
+ ;
+generic: # generic installation (no bin)
+ $ifnfile (bin.generic)
+ !mkdir bin.generic
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh generic -d $(DIRS)
+ ;
+
+linux: # install Slackwkare Linux binaries
+ $ifnfile (bin.linux)
+ !mkdir bin.linux
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh linux -d $(DIRS)
+ ;
+linux64: # install x86_64 binaries
+ $ifnfile (bin.linux64)
+ !mkdir bin.linux64
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh linux64 -d $(DIRS)
+ ;
+macosx: # install Mac OS X (PPC) binaries
+ $ifnfile (bin.macosx)
+ !mkdir bin.macosx
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh macosx -d $(DIRS)
+ ;
+macintel: # install Mac OS X (Intel) binaries
+ $ifnfile (bin.macintel)
+ !mkdir bin.macintel
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh macintel -d $(DIRS)
+ ;
+cygwin: # install Cygwin binaries
+ $ifnfile (bin.cygwin)
+ !mkdir bin.cygwin
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh cygwin -d $(DIRS)
+ ;
+sparc: # install sparc binaries
+ $ifnfile (bin.sparc)
+ !mkdir bin.sparc
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh sparc -d $(DIRS)
+ ;
+ssun: # install Sun/Solaris binaries
+ $ifnfile (bin.ssun)
+ !mkdir bin.ssun
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh ssun -d $(DIRS)
+ ;
+sunos: # install SunOS (Solaris x86) binaries
+ $ifnfile (bin.sunos)
+ !mkdir bin.sunos
+ $endif
+ $verbose off
+ $set DIRS = "lib votools"
+ !$(hlib)/mkfloat.csh sunos -d $(DIRS)
+ ;