Changeset 34548 for branches/eam_branches/ipp-20120905/dvodist
- Timestamp:
- Oct 24, 2012, 9:51:29 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120905/dvodist
- Files:
-
- 2 edited
-
INSTALL (modified) (1 diff)
-
Makefile.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120905/dvodist/INSTALL
r34543 r34548 2 2 after setting up psconfig: 3 3 4 kiawe / alala example: 5 psconfigure --dbhost alala --dbuser ipp --dbpass ipp --htdocs /var/www/kiawe 6 7 # Regular installation on ippMonitor.ifa.hawaii.edu 8 # Note: we use a 'science databases (replication) slave' and the ippMonitor read-only account to connect to that database 9 psconfigure --dbhost scidbs1 --dbuser ippMonitor --dbpass ippMonitor --htdocs /var/www/localhost/htdocs --site ~/ippconfig/ippmonitor.config 10 psconfigure --htdocs /data/ippc17.0/www/dvodist/ 11 make php 4 ippc17 / dvodist example 5 psconfigure --htdocs /data/ippc17.0/www/dvodist 6 make php -
branches/eam_branches/ipp-20120905/dvodist/Makefile.in
r34543 r34548 4 4 5 5 # copy 'scripts' to target, copy 'www-util' to target, copy ' 6 7 GENERATE = src/generate 6 8 7 9 SRC-ROOT = www-root … … 35 37 $(TGT-ROOT)/ipp.css 36 38 39 TEST = \ 40 $(TGT-ROOT)/help.php \ 41 $(TGT-UTIL)/ipp.page.php 42 43 test: $(TEST) 44 37 45 php: $(ROOT) $(UTIL) $(PROG) 38 46 39 # dependancy rules for binary code ######################### 40 # .PRECIOUS: %.$(ARCH).o 41 # .PRECIOUS: $(BIN)/%.$(ARCH) 47 ## # non-generated php code is copied directly 48 ## $(TGT-ROOT)/%: $(SRC-ROOT)/% 49 ## @if [ ! -d $(TGT-ROOT) ]; then mkdir -p $(TGT-ROOT) || exit; fi 50 ## cp $(SRC-ROOT)/$* $(TGT-ROOT)/$* || exit 51 ## chmod +x $(TGT-ROOT)/$* || exit 52 ## 53 ## $(TGT-PROG)/%: $(SRC-PROG)/% 54 ## @if [ ! -d $(TGT-PROG) ]; then mkdir -p $(TGT-PROG) || exit; fi 55 ## cp $(SRC-PROG)/$* $(TGT-PROG)/$* || exit 56 ## chmod +x $(TGT-PROG)/$* || exit 57 ## 58 ## $(TGT-UTIL)/%: $(SRC-UTIL)/% 59 ## @if [ ! -d $(TGT-UTIL) ]; then mkdir -p $(TGT-UTIL) || exit; fi 60 ## cp $(SRC-UTIL)/$* $(TGT-UTIL)/$* || exit 61 ## chmod +x $(TGT-UTIL)/$* || exit 42 62 43 # $(DESTLINK): $(DESTWWW)/Login.php 44 # rm -f $@ 45 # ln -s $(DESTWWW)/Login.php $@ 46 # 47 # $(DESTWWW)/version.php: 48 # svnversion > $@ 63 # mkd files are used to generate php files 64 $(TGT-ROOT)/%.php: $(SRC-ROOT)/%.mkd 65 @if [ ! -d $(TGT-ROOT) ]; then mkdir -p $(TGT-ROOT) || exit; fi 66 rm -f $(TGT-ROOT)/$*.php || exit 67 $(GENERATE) --htdocs @HTDOCS@ $(SRC-ROOT)/$*.mkd $(TGT-ROOT)/$*.php || exit 49 68 50 # non-generated php code is copied directly 51 $(TGT-ROOT)/%: $(SRC-ROOT)/% 52 @if [ ! -d $(TGT-ROOT) ]; then mkdir -p $(TGT-ROOT) || exit; fi 53 cp $(SRC-ROOT)/$* $(TGT-ROOT)/$* || exit 54 chmod +x $(TGT-ROOT)/$* || exit 55 56 $(TGT-PROG)/%: $(SRC-PROG)/% 57 @if [ ! -d $(TGT-PROG) ]; then mkdir -p $(TGT-PROG) || exit; fi 58 cp $(SRC-PROG)/$* $(TGT-PROG)/$* || exit 59 chmod +x $(TGT-PROG)/$* || exit 60 61 $(TGT-UTIL)/%: $(SRC-UTIL)/% 69 # mkd files are used to generate php files 70 $(TGT-UTIL)/%.php: $(SRC-UTIL)/%.mkd 62 71 @if [ ! -d $(TGT-UTIL) ]; then mkdir -p $(TGT-UTIL) || exit; fi 63 cp $(SRC-UTIL)/$* $(TGT-UTIL)/$* || exit 64 chmod +x $(TGT-UTIL)/$* || exit 65 66 # $(TGT-ROOT)/%.css: $(TGT-SRC)/%.css 67 # @if [ ! -d $(TGT-ROOT) ]; then mkdir -p $(TGT-ROOT) || exit; fi 68 # rm -f $(TGT-ROOT)/$*.css || exit 69 # cp $(TGT-SRC)/$*.css $(TGT-ROOT)/$*.css || exit 70 # 71 # $(TGT-ROOT)/%.php: $(TGT-SRC)/%.php 72 # @if [ ! -d $(TGT-ROOT) ]; then mkdir -p $(TGT-ROOT) || exit; fi 73 # rm -f $(TGT-ROOT)/$*.php || exit 74 # cp $(TGT-SRC)/$*.php $(TGT-ROOT)/$*.php || exit 72 rm -f $(TGT-UTIL)/$*.php || exit 73 $(GENERATE) --htdocs @HTDOCS@ $(SRC-UTIL)/$*.mkd $(TGT-UTIL)/$*.php || exit 75 74 76 75 # utilities ################################################# 77 78 76 clean: 79 77 rm -f `find . -name "*.o"` … … 81 79 rm -f `find . -name "#*"` 82 80 81 .PRECIOUS: $(SRC)/%.mkd 83 82 .PRECIOUS: $(SRC)/%.php 84 83 .PRECIOUS: $(SRC)/%.css
Note:
See TracChangeset
for help on using the changeset viewer.
