IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 17, 2014, 12:32:26 PM (12 years ago)
Author:
eugene
Message:

merge changes (from past YEAR) into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-ops-20130712/dvodist/Makefile.in

    r35415 r37067  
    11default: help
    22help:
    3         @echo "USAGE: make (website)"
    4         @echo "  (website) = dvodist or ippdata"
     3        @echo "USAGE: make (target)"
     4        @echo "  targets: "
     5        @echo "  dvodist : the internal dvo distribution website (info pages only)"
     6        @echo "  dvodist-all : install pages for dvo data"
     7        @echo "  ippdata : the public ipp data distribution website"
     8        @echo ""
     9        @echo "  clean-dvodist : remove generated php files"
     10        @echo "  clean-ippdata : remove generated php files"
    511
    612GENERATE = src/generate --htdocs @HTDOCS@ --rootdir @ROOTDIR@ --rootwww @ROOTWWW@
     
    2026TGT-IPPDATA = @HTDOCS@/ippdata
    2127
    22 # common code used by all installation?
     28# generated common code used by all installations
    2329UTIL = \
    24 $(TGT-UTIL)/blank.html \
    2530$(TGT-UTIL)/ipp.page.php \
    26 $(TGT-UTIL)/ipp.menu.dat \
    2731$(TGT-UTIL)/ipp.php \
    2832$(TGT-UTIL)/markdown.php \
    2933$(TGT-UTIL)/phptest.php
    3034
    31 DVODIST = \
    32 $(TGT-UTIL)/dvodist.menu.dat \
     35# pages which are generated (and thus depend on the config)
     36DVODIST-MKD = \
    3337$(TGT-UTIL)/dvodist.page.php \
    34 $(TGT-DVODIST)/PScolorlogo2.jpg \
    3538$(TGT-DVODIST)/index.php \
    3639$(TGT-DVODIST)/test.php \
    3740$(TGT-DVODIST)/docs.php \
    3841$(TGT-DVODIST)/help.php \
    39 $(TGT-DVODIST)/ipp.css \
    4042$(TGT-DVODIST)/catdir.syn.test/index.php \
    4143$(TGT-DVODIST)/catdir.syn.test/n3000/index.php \
    4244$(TGT-DVODIST)/catdir.syn.test/n3730/index.php
    4345
    44 IPPDATA = \
    45 $(TGT-UTIL)/ippdata.menu.dat \
     46# pages which are copied directly
     47DVODIST-RAW = \
     48$(TGT-DVODIST)/blank.html \
     49$(TGT-DVODIST)/PScolorlogo2.jpg \
     50$(TGT-DVODIST)/ipp.css \
     51$(TGT-UTIL)/dvodist.menu.dat
     52
     53DVODIST = $(DVODIST-MKD) $(DVODIST-RAW)
     54
     55IPPDATA-MKD = \
    4656$(TGT-UTIL)/ippdata.page.php \
    47 $(TGT-IPPDATA)/PScolorlogo2.jpg \
    4857$(TGT-IPPDATA)/index.php \
    4958$(TGT-IPPDATA)/docs/index.php \
    5059$(TGT-IPPDATA)/docs/photladder.php \
     60$(TGT-IPPDATA)/photladder.20130107.subset/index.php \
     61$(TGT-IPPDATA)/photladder.20130107.subset/relphot-fits/index.php \
     62$(TGT-IPPDATA)/photladder.20130107.subset/relphot-csv/index.php \
     63$(TGT-IPPDATA)/photladder.20130107.subset/ubercal-fits/index.php \
     64$(TGT-IPPDATA)/photladder.20130107.subset/ubercal-csv/index.php \
     65$(TGT-IPPDATA)/ps1.filters/index.php \
     66$(TGT-IPPDATA)/catdir.syn.test/index.php \
     67$(TGT-IPPDATA)/catdir.syn.test/n3000/index.php \
     68$(TGT-IPPDATA)/catdir.syn.test/n3730/index.php \
     69$(TGT-IPPDATA)/help.php
     70
     71IPPDATA-RAW = \
     72$(TGT-UTIL)/ippdata.menu.dat \
     73$(TGT-IPPDATA)/blank.html \
     74$(TGT-IPPDATA)/ipp.css \
     75$(TGT-IPPDATA)/PScolorlogo2.jpg \
     76$(TGT-IPPDATA)/ps1.filters/apj425122t3_mrt.txt \
    5177$(TGT-IPPDATA)/docs/photladder-1206.20130301.pdf \
    5278$(TGT-IPPDATA)/docs/2mass.compare/dH.allsky.20120528.v3.png \
     
    5783$(TGT-IPPDATA)/docs/2mass.compare/sigma.g.ubercal.20120528.v0.png \
    5884$(TGT-IPPDATA)/docs/2mass.compare/sigma.i.ubercal.20120528.v0.png \
    59 $(TGT-IPPDATA)/photladder.20130107.subset/index.php \
    60 $(TGT-IPPDATA)/photladder.20130107.subset/relphot-fits/index.php \
    61 $(TGT-IPPDATA)/photladder.20130107.subset/relphot-csv/index.php \
    62 $(TGT-IPPDATA)/photladder.20130107.subset/ubercal-fits/index.php \
    63 $(TGT-IPPDATA)/photladder.20130107.subset/ubercal-csv/index.php \
    64 $(TGT-IPPDATA)/catdir.syn.test/index.php \
    65 $(TGT-IPPDATA)/catdir.syn.test/n3000/index.php \
    66 $(TGT-IPPDATA)/catdir.syn.test/n3730/index.php \
    67 $(TGT-IPPDATA)/help.php \
    6885$(TGT-IPPDATA)/ipp.css
     86
     87IPPDATA = $(IPPDATA-RAW) $(IPPDATA-MKD)
    6988
    7089include $(SRC-DVODIST)/3pi.20120509/Makefile
     
    7291include $(SRC-DVODIST)/3pi.20120606/Makefile
    7392include $(SRC-DVODIST)/3pi.20130227/Makefile
     93include $(SRC-DVODIST)/3pi.20140621/Makefile
     94include $(SRC-DVODIST)/LAP.3pi.PV1/Makefile
    7495include $(SRC-DVODIST)/3pi.20120525.tables/Makefile
    7596include $(SRC-DVODIST)/3pi.20130227.tables/Makefile
     
    81102$(DIST-3pi-20120606) \
    82103$(DIST-3pi-20130227) \
     104$(DIST-3pi-20140621) \
     105$(DIST-LAP-3pi-PV1) \
    83106$(DIST-3pi-20120525-tables) \
    84107$(DIST-3pi-20130227-tables) \
     
    96119        $(GENERATE) $(SRC-UTIL)/$*.mkd $(TGT-UTIL)/$*.php || exit
    97120
     121# non-generated common utilities (not dest for htdocs)
    98122$(TGT-UTIL)/%: $(SRC-UTIL)/%
    99123        @if [ ! -d $(TGT-UTIL) ]; then mkdir -p $(TGT-UTIL) || exit; fi
    100124        cp $(SRC-UTIL)/$* $(TGT-UTIL)/$* || exit
    101125        chmod +x $(TGT-UTIL)/$* || exit
     126
     127#### dvodist
     128
     129# common non-generated code from a common location
     130$(TGT-DVODIST)/%: $(SRC-UTIL)/%
     131        @if [ ! -d $(TGT-DVODIST) ]; then mkdir -p $(TGT-DVODIST) || exit; fi
     132        cp $(SRC-UTIL)/$* $(TGT-DVODIST)/$* || exit
     133        chmod +x $(TGT-DVODIST)/$* || exit
    102134
    103135# mkd files are used to generate php files
     
    112144        cp $(SRC-DVODIST)/$* $(TGT-DVODIST)/$* || exit
    113145        chmod +x $(TGT-DVODIST)/$* || exit
     146
     147#### ippdata
     148
     149# common non-generated code from a common location
     150$(TGT-IPPDATA)/%: $(SRC-UTIL)/%
     151        @if [ ! -d $(TGT-IPPDATA) ]; then mkdir -p $(TGT-IPPDATA) || exit; fi
     152        cp $(SRC-UTIL)/$* $(TGT-IPPDATA)/$* || exit
     153        chmod +x $(TGT-IPPDATA)/$* || exit
    114154
    115155# mkd files are used to generate php files
     
    126166
    127167# utilities #################################################
     168clean-dvodist: 
     169        rm -f $(DVODIST-MKD) $(UTIL-MKD) $(DVODIST_DIRS)
     170
     171clean-ippdata: 
     172        rm -f $(IPPDATA-MKD) $(UTIL-MKD)
     173
    128174clean: 
    129175        rm -f `find . -name "*.o"`
Note: See TracChangeset for help on using the changeset viewer.