IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2013, 4:53:59 PM (13 years ago)
Author:
eugene
Message:

move the common htdoc files to www-util and adjust make rules so they install correctly

File:
1 edited

Legend:

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

    r35944 r35946  
    2727
    2828# generated common code used by all installations
    29 UTIL-MKD = \
     29UTIL = \
    3030$(TGT-UTIL)/ipp.page.php \
    3131$(TGT-UTIL)/ipp.php \
    3232$(TGT-UTIL)/markdown.php \
    3333$(TGT-UTIL)/phptest.php
    34 
    35 # static common code used by all installations
    36 UTIL-RAW = \
    37 $(TGT-UTIL)/blank.html \
    38 $(TGT-UTIL)/ipp.menu.dat
    39 
    40 UTIL = $(UTIL-RAW) $(UTIL-MKD)
    4134
    4235# pages which are generated (and thus depend on the config)
     
    5346# pages which are copied directly
    5447DVODIST-RAW = \
    55 $(TGT-UTIL)/dvodist.menu.dat \
     48$(TGT-DVODIST)/blank.html \
    5649$(TGT-DVODIST)/PScolorlogo2.jpg \
    57 $(TGT-DVODIST)/ipp.css
     50$(TGT-DVODIST)/ipp.css \
     51$(TGT-UTIL)/dvodist.menu.dat
    5852
    5953DVODIST = $(DVODIST-MKD) $(DVODIST-RAW)
     
    7670IPPDATA-RAW = \
    7771$(TGT-UTIL)/ippdata.menu.dat \
     72$(TGT-IPPDATA)/blank.html \
     73$(TGT-IPPDATA)/ipp.css \
    7874$(TGT-IPPDATA)/PScolorlogo2.jpg \
    7975$(TGT-IPPDATA)/docs/photladder-1206.20130301.pdf \
     
    119115        $(GENERATE) $(SRC-UTIL)/$*.mkd $(TGT-UTIL)/$*.php || exit
    120116
     117# non-generated common utilities (not dest for htdocs)
    121118$(TGT-UTIL)/%: $(SRC-UTIL)/%
    122119        @if [ ! -d $(TGT-UTIL) ]; then mkdir -p $(TGT-UTIL) || exit; fi
    123120        cp $(SRC-UTIL)/$* $(TGT-UTIL)/$* || exit
    124121        chmod +x $(TGT-UTIL)/$* || exit
     122
     123#### dvodist
     124
     125# common non-generated code from a common location
     126$(TGT-DVODIST)/%: $(SRC-UTIL)/%
     127        @if [ ! -d $(TGT-DVODIST) ]; then mkdir -p $(TGT-DVODIST) || exit; fi
     128        cp $(SRC-UTIL)/$* $(TGT-DVODIST)/$* || exit
     129        chmod +x $(TGT-DVODIST)/$* || exit
    125130
    126131# mkd files are used to generate php files
     
    135140        cp $(SRC-DVODIST)/$* $(TGT-DVODIST)/$* || exit
    136141        chmod +x $(TGT-DVODIST)/$* || exit
     142
     143#### ippdata
     144
     145# common non-generated code from a common location
     146$(TGT-IPPDATA)/%: $(SRC-UTIL)/%
     147        @if [ ! -d $(TGT-IPPDATA) ]; then mkdir -p $(TGT-IPPDATA) || exit; fi
     148        cp $(SRC-UTIL)/$* $(TGT-IPPDATA)/$* || exit
     149        chmod +x $(TGT-IPPDATA)/$* || exit
    137150
    138151# mkd files are used to generate php files
Note: See TracChangeset for help on using the changeset viewer.