IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39557


Ignore:
Timestamp:
Apr 28, 2016, 9:39:27 AM (10 years ago)
Author:
eugene
Message:

add scripts for pv3; update page for current dvodist server setup

Location:
trunk/dvodist
Files:
5 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/dvodist/EXAMPLE

    r37925 r39557  
    1818  NOTE: run in dvodist subdir
    1919
    20 * copy a Makefile from one of the older distribtions
    21 
    22 * modify the makefile to point at the new directories
     20* create a Makefile:
     21  ../scripts/copy.makefile 3pi-pv0-20120509 3pi.pv0.20120509
    2322
    2423* add the makefile entry to the dvodist/Makefile.in, eg:
  • trunk/dvodist/Makefile.in

    r37805 r39557  
    8787IPPDATA = $(IPPDATA-RAW) $(IPPDATA-MKD)
    8888
    89 include $(SRC-DVODIST)/3pi.20120509/Makefile
    90 include $(SRC-DVODIST)/3pi.20120525/Makefile
    91 include $(SRC-DVODIST)/3pi.20120606/Makefile
    92 include $(SRC-DVODIST)/3pi.20130227/Makefile
    93 include $(SRC-DVODIST)/3pi.20140621/Makefile
    94 include $(SRC-DVODIST)/3pi.20140713/Makefile
    95 include $(SRC-DVODIST)/LAP.3pi.PV1/Makefile
    96 include $(SRC-DVODIST)/lap.pv2.20141215/Makefile
     89# include $(SRC-DVODIST)/3pi.20120509/Makefile
     90# include $(SRC-DVODIST)/3pi.20120525/Makefile
     91# include $(SRC-DVODIST)/3pi.20120606/Makefile
     92# include $(SRC-DVODIST)/3pi.20130227/Makefile
     93# include $(SRC-DVODIST)/3pi.20140621/Makefile
     94# include $(SRC-DVODIST)/3pi.20140713/Makefile
     95# include $(SRC-DVODIST)/LAP.3pi.PV1/Makefile
     96# include $(SRC-DVODIST)/lap.pv2.20141215/Makefile
     97
     98include $(SRC-DVODIST)/3pi.pv0.20120509/Makefile
     99include $(SRC-DVODIST)/3pi.pv0.20120525/Makefile
     100include $(SRC-DVODIST)/3pi.pv0.20120606/Makefile
     101include $(SRC-DVODIST)/3pi.pv0.20130227/Makefile
     102include $(SRC-DVODIST)/3pi.pv0.20140621/Makefile
     103include $(SRC-DVODIST)/3pi.pv0.20140713/Makefile
     104include $(SRC-DVODIST)/3pi.pv1.20130708/Makefile
     105include $(SRC-DVODIST)/3pi.pv2.20141215/Makefile
     106include $(SRC-DVODIST)/3pi.pv3.20160422/Makefile
    97107include $(SRC-DVODIST)/3pi.20120525.tables/Makefile
    98108include $(SRC-DVODIST)/3pi.20130227.tables/Makefile
     
    100110
    101111DVODIST_DIRS = \
    102 $(DIST-3pi-20120509) \
    103 $(DIST-3pi-20120525) \
    104 $(DIST-3pi-20120606) \
    105 $(DIST-3pi-20130227) \
    106 $(DIST-3pi-20140621) \
    107 $(DIST-3pi-20140713) \
    108 $(DIST-LAP-3pi-PV1) \
    109 $(DIST-lap-pv2-20141215) \
     112$(DIST-3pi-pv0-20120509) \
     113$(DIST-3pi-pv0-20120525) \
     114$(DIST-3pi-pv0-20120606) \
     115$(DIST-3pi-pv0-20130227) \
     116$(DIST-3pi-pv0-20140621) \
     117$(DIST-3pi-pv0-20140713) \
     118$(DIST-3pi-pv1-20130708) \
     119$(DIST-3pi-pv2-20141215) \
     120$(DIST-3pi-pv3-20160422) \
    110121$(DIST-3pi-20120525-tables) \
    111122$(DIST-3pi-20130227-tables) \
     
    138149
    139150# mkd files are used to generate php files
    140 $(TGT-DVODIST)/%.php: $(SRC-DVODIST)/%.mkd
     151$(TGT-DVODIST)/%.mkd: $(SRC-DVODIST)/%.mkd
     152        @if [ ! -d $(@D) ]; then mkdir -p $(@D) || exit; fi
     153        rm -f $(TGT-DVODIST)/$*.mkd || exit
     154        cp -f $(SRC-DVODIST)/$*.mkd $(TGT-DVODIST)/$*.mkd || exit
     155
     156# mkd files are used to generate php files
     157$(TGT-DVODIST)/%.php: $(TGT-DVODIST)/%.mkd
    141158        @if [ ! -d $(@D) ]; then mkdir -p $(@D) || exit; fi
    142159        rm -f $(TGT-DVODIST)/$*.php || exit
    143         $(GENERATE) $(SRC-DVODIST)/$*.mkd $(TGT-DVODIST)/$*.php || exit
     160        $(GENERATE) $(TGT-DVODIST)/$*.mkd $(TGT-DVODIST)/$*.php || exit
    144161
    145162# non-generated php code is copied directly
     
    158175
    159176# mkd files are used to generate php files
    160 $(TGT-IPPDATA)/%.php: $(SRC-IPPDATA)/%.mkd
     177$(TGT-IPPDATA)/%.mkd: $(SRC-IPPDATA)/%.mkd
    161178        @if [ ! -d $(@D) ]; then mkdir -p $(@D) || exit; fi
    162179        rm -f $(TGT-IPPDATA)/$*.php || exit
    163         $(GENERATE) $(SRC-IPPDATA)/$*.mkd $(TGT-IPPDATA)/$*.php || exit
     180        cp -f $(SRC-IPPDATA)/$*.mkd $(TGT-IPPDATA)/$*.mkd || exit
     181
     182# mkd files are used to generate php files
     183$(TGT-IPPDATA)/%.php: $(TGT-IPPDATA)/%.mkd
     184        @if [ ! -d $(@D) ]; then mkdir -p $(@D) || exit; fi
     185        rm -f $(TGT-IPPDATA)/$*.php || exit
     186        $(GENERATE) $(TGT-IPPDATA)/$*.mkd $(TGT-IPPDATA)/$*.php || exit
    164187
    165188# non-generated php code is copied directly
     
    181204        rm -f `find . -name "#*"`
    182205
     206.PRECIOUS: $(TGT-DVODIST)/%.mkd
    183207.PRECIOUS: $(SRC)/%.mkd
    184208.PRECIOUS: $(SRC)/%.php
  • trunk/dvodist/dvodist

    • Property svn:ignore set to
      logs
  • trunk/dvodist/scripts/mkdist.3pi.pv0.20120509.sh

    r39553 r39557  
    1616
    1717# top-level files
    18 if (1) then
     18if (0) then
    1919  mkdir -p $cattgt
    2020  foreach file (HostTable.dat Images.dat Photcodes.dat SkyTable.fits flatcorr.fits)
     
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v \# $cattgt/HostTable.dat | grep ipp0\[345\] | awk '{print $3}'`)
     32# foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
    3233  echo $hostdir
    3334  foreach dir ($nlist $slist)
  • trunk/dvodist/www-util/dvodist.page.mkd

    r35415 r39557  
    1414  $rootdir = "@ROOTWWW@";
    1515 } else {
    16   $rootdir = "@ROOTWWW@@ROOTDIR@";
     16// $rootdir = "@ROOTWWW@@ROOTDIR@";
     17  $rootdir = "@ROOTWWW@";
    1718 }
    1819
Note: See TracChangeset for help on using the changeset viewer.