Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 18, 2026

Diff for platos/_templates/Rules.make between version 1.32 and 1.33

version 1.32, 2005/09/18 01:38:20 version 1.33, 2005/09/18 10:27:26
Line 7 
Line 7 
 # Licensed under terms of GNU General Public License.  # Licensed under terms of GNU General Public License.
 # All rights reserved.  # All rights reserved.
 #  #
 # $Platon: Platon.SK/office/_templates/Rules.make,v 1.31 2005/09/18 00:57:56 rajo Exp $  # $Platon: platos/_templates/Rules.make,v 1.32 2005/09/18 01:38:20 rajo Exp $
 #  #
   
 ps__OUTPUT        = $(shell sed 's/\#.*$$//g;' ps__OUTPUT 2>/dev/null)  ps__OUTPUT        = $(shell sed 's/\#.*$$//g;' ps__OUTPUT 2>/dev/null)
Line 109  endif
Line 109  endif
   
 # }}}  # }}}
   
   #
   # Terminal colors definition
   # {{{
   
   RESET           = 
   BOLD            = 
   UNDERLINE       = 
   BELL            = 
   BLACK           = 
   RED                     = 
   GREEN           = 
   YELLOW          = 
   BLUE            = 
   MAGENTA         = 
   CYAN            = 
   WHITE           = 
   # BOMB!!! Let's fun :-)
   BOMB            = [?7h)0 
   
   export RESET
   export BOLD
   export UNDERLINE
   export BELL
   export BLACK
   export RED
   export GREEN
   export YELLOW
   export BLUE
   export MAGENTA
   export CYAN
   export WHITE
   export BOMB
   
   # }}}
   
 DEPEND_all = Makefile \  DEPEND_all = Makefile \
                          $(STYLESHEET_FILES) \                           $(STYLESHEET_FILES) \
                          $(IMAGES) \                           $(IMAGES) \
Line 277  htm_OUTPUT:
Line 312  htm_OUTPUT:
   
 ps-subdir:  ps-subdir:
         -@$(BUILD_STRUCT) "PostScript" LATEX "$(strip $(LATEX))" \          -@$(BUILD_STRUCT) "PostScript" LATEX "$(strip $(LATEX))" \
                 && $(MAKE) TOP_DIR=$(TOP_DIR)/.. -C PostScript PostScript                  && $(MAKE) TOP_DIR=$(TOP_DIR)/.. -C PostScript PostScript ; echo -e "$(BLUE)Building of $(MAGENTA)PostScript$(BLUE) done.$(RESET)"
   
 pdf-subdir:  pdf-subdir:
         -@$(BUILD_STRUCT) "PDF" PDFLATEX "$(strip $(PDFLATEX))" \          -@$(BUILD_STRUCT) "PDF" PDFLATEX "$(strip $(PDFLATEX))" \
                 && $(MAKE) TOP_DIR=$(TOP_DIR)/.. -C PDF PDF                  && $(MAKE) TOP_DIR=$(TOP_DIR)/.. -C PDF PDF ; echo -e "$(BLUE)Building of $(MAGENTA)PDF$(BLUE) done.$(RESET)"
   
 html-subdir:  html-subdir:
         -@$(BUILD_STRUCT) "HTML" LATEX2HTML "$(strip $(LATEX2HTML))" \          -@$(BUILD_STRUCT) "HTML" LATEX2HTML "$(strip $(LATEX2HTML))" \
                 && $(MAKE) TOP_DIR=$(TOP_DIR)/.. -C HTML HTML                  && $(MAKE) TOP_DIR=$(TOP_DIR)/.. -C HTML HTML ; echo -e "$(BLUE)Building of $(MAGENTA)HTML$(BLUE) done.$(RESET)"
   
 rtf-subdir:  rtf-subdir:
         -@$(BUILD_STRUCT) "RTF" LATEX2RTF "$(strip $(LATEX2RTF))" \          -@$(BUILD_STRUCT) "RTF" LATEX2RTF "$(strip $(LATEX2RTF))" \
                 && $(MAKE) TOP_DIR=$(TOP_DIR)/.. -C RTF RTF                  && $(MAKE) TOP_DIR=$(TOP_DIR)/.. -C RTF RTF ; echo -e "$(BLUE)Building of $(MAGENTA)RTF$(BLUE) done.$(RESET)"
   
   
 PostScript: $(ps__OUTPUT_first) $(ps__OUTPUT_second) $(ps__OUTPUT_third) $(DVI_ps__OUTPUT) $(ps__OUTPUT)  PostScript: $(ps__OUTPUT_first) $(ps__OUTPUT_second) $(ps__OUTPUT_third) $(DVI_ps__OUTPUT) $(ps__OUTPUT)
Line 451  doc-subdirs: dummy $(subdir-list-doc)
Line 486  doc-subdirs: dummy $(subdir-list-doc)
   
 $(subdir-list-doc) : dummy  $(subdir-list-doc) : dummy
         @if [ -d "$(patsubst _subdir_doc_%,%,$@)" ]; then \          @if [ -d "$(patsubst _subdir_doc_%,%,$@)" ]; then \
                 echo -en "Making documents in directory '$(patsubst _subdir_doc_%,%,$@)'"; echo; \                  echo -e "$(GREEN)Making documents in directory $(MAGENTA)'$(patsubst _subdir_doc_%,%,$@)'$(RESET)"; \
                 $(MAKE) -C $(patsubst _subdir_doc_%,%,$@) doc; \                  $(MAKE) -C $(patsubst _subdir_doc_%,%,$@) doc; \
                 echo -en "Make in directory '$(patsubst _subdir_doc_%,%,$@)' done."; echo; \                  echo -e "$(GREEN)Make in directory $(MAGENTA)'$(patsubst _subdir_doc_%,%,$@)'$(GREEN) done.$(RESET)"; \
         else \          else \
                 echo -en "Skipping nonexistent directory '$(patsubst _subdir_doc_%,%,$@)'"; echo; \                  echo -e "$(RED)Skipping nonexistent directory $(MAGENTA)'$(patsubst _subdir_doc_%,%,$@)'$(RESET)"; \
         fi          fi
   
   
Line 481  clean-subdirs: dummy $(subdir-list-clean
Line 516  clean-subdirs: dummy $(subdir-list-clean
   
 $(subdir-list-clean) : dummy  $(subdir-list-clean) : dummy
         @if [ -d "$(patsubst _subdir_clean_%,%,$@)" ]; then \          @if [ -d "$(patsubst _subdir_clean_%,%,$@)" ]; then \
                 echo -en "Cleaning documents in directory '$(patsubst _subdir_clean_%,%,$@)'"; echo; \                  echo -e "$(GREEN)Cleaning documents in directory $(MAGENTA)'$(patsubst _subdir_clean_%,%,$@)'$(RESET)"; \
                 $(MAKE) -C $(patsubst _subdir_clean_%,%,$@) clean; \                  $(MAKE) -C $(patsubst _subdir_clean_%,%,$@) clean; \
                 echo -en "Clean in directory '$(patsubst _subdir_clean_%,%,$@)' done."; echo; \                  echo -e "$(GREEN)Clean in directory $(MAGENTA)'$(patsubst _subdir_clean_%,%,$@)'$(GREEN) done.$(RESET)"; \
         else \          else \
                 echo -en "Skipping nonexistent directory '$(patsubst _subdir_clean_%,%,$@)'"; echo; \                  echo -e "$(RED)Skipping nonexistent directory $(MAGENTA)'$(patsubst _subdir_clean_%,%,$@)'$(RESET)"; \
         fi          fi
   
 else  else
Line 534  clean-tex-logs:
Line 569  clean-tex-logs:
                 done; \                  done; \
         done; \          done; \
         filelist="`echo $$file_list | awk -v RS=' ' '{print}' | sort -u | awk -v ORS=' ' '{print}'`"; \          filelist="`echo $$file_list | awk -v RS=' ' '{print}' | sort -u | awk -v ORS=' ' '{print}'`"; \
         echo -en "Deleting extensions `echo $$asdf{.aux,.brf,.log,.lof,.lot,.out,.toc,.dvi,.ps,.pdf} `"; echo; \          echo -e "$(CYAN)Deleting extensions `echo $$asdf{.aux,.brf,.log,.lof,.lot,.out,.toc,.dvi,.ps,.pdf} `$(RESET)"; \
         echo "rm -f $$filelist"; \          echo "rm -f $$filelist"; \
         rm -f $$filelist;          rm -f $$filelist;
 else  else
 clean-tex-logs:  clean-tex-logs:
         @filelist="`ls *{.aux,.brf,.log,.lof,.lot,.out,.toc,.dvi,.ps,.pdf} 2>/dev/null`"; \          @filelist="`ls *{.aux,.brf,.log,.lof,.lot,.out,.toc,.dvi,.ps,.pdf} 2>/dev/null`"; \
         if [ ! -z "$$filelist" ]; then \          if [ ! -z "$$filelist" ]; then \
                 echo -en "Deleting files `echo $$asdf{.aux,.brf,.log,.lof,.lot,.out,.toc,.dvi,.ps,.pdf} `"; echo; \                  echo -e "$(CYAN)Deleting files `echo $$asdf{.aux,.brf,.log,.lof,.lot,.out,.toc,.dvi,.ps,.pdf} `$(RESET)"; \
                 echo "rm -f $$filelist"; \                  echo "rm -f $$filelist"; \
                 rm -f $$filelist; \                  rm -f $$filelist; \
         fi          fi
Line 565  subdir-copy-distfile = $(sort $(patsubst
Line 600  subdir-copy-distfile = $(sort $(patsubst
 export DISTFILE_DEST  export DISTFILE_DEST
 $(subdir-copy-distfile) : dummy  $(subdir-copy-distfile) : dummy
         @if [ -d "$(patsubst _subdir_copy_distfile_%,%,$@)" ]; then \          @if [ -d "$(patsubst _subdir_copy_distfile_%,%,$@)" ]; then \
                 echo -en "Copying distfile from directory '$(patsubst _subdir_copy_distfile_%,%,$@)'"; echo; \                  echo -e "$(GREEN)Copying distfile from directory $(MAGENTA)'$(patsubst _subdir_copy_distfile_%,%,$@)'$(RESET)"; \
                 $(MAKE) -C $(patsubst _subdir_copy_distfile_%,%,$@) copy-distfile; \                  $(MAKE) -C $(patsubst _subdir_copy_distfile_%,%,$@) copy-distfile; \
                 echo -en "Copying distfile from directory '$(patsubst _subdir_copy_distfile_%,%,$@)' done."; echo; \                  echo -e "$(GREEN)Copying distfile from directory $(MAGENTA)'$(patsubst _subdir_copy_distfile_%,%,$@)'$(GREEN) done.$(RESET)"; \
         else \          else \
                 echo -en "Skipping nonexistent directory '$(patsubst _subdir_copy_distfile_%,%,$@)'"; echo; \                  echo -e "$(RED)Skipping nonexistent directory $(MAGENTA)'$(patsubst _subdir_copy_distfile_%,%,$@)'$(RESET)"; \
         fi          fi
   
 endif  endif

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top