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

Diff for platos/_templates/Rules.make between version 1.25 and 1.26

version 1.25, 2005/06/19 21:19:56 version 1.26, 2005/06/19 22:27:07
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: platos/_templates/Rules.make,v 1.24 2005/06/15 21:55:05 rajo Exp $  # $Platon: platos/_templates/Rules.make,v 1.25 2005/06/19 21:19:56 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 199  ifneq ($(strip $(ps__OUTPUT)),) # {{{
Line 199  ifneq ($(strip $(ps__OUTPUT)),) # {{{
 ifneq ($(strip $(PREFIX)),)  ifneq ($(strip $(PREFIX)),)
 PS__TARGETS := ps-subdir ps-prefixed-output  PS__TARGETS := ps-subdir ps-prefixed-output
 else  else
 PS__TARGETS := ps-subdir  PS__TARGETS := ps-subdir ps-prefixed-output
 endif # ifdef PREFIX  endif # ifdef PREFIX
 endif # }}} ifdef ps__OUTPUT  endif # }}} ifdef ps__OUTPUT
   
Line 207  ifneq ($(strip $(pdf_OUTPUT)),) # {{{
Line 207  ifneq ($(strip $(pdf_OUTPUT)),) # {{{
 ifneq ($(strip $(PREFIX)),)  ifneq ($(strip $(PREFIX)),)
 PDF_TARGETS := pdf-subdir pdf-prefixed-output  PDF_TARGETS := pdf-subdir pdf-prefixed-output
 else  else
 PDF_TARGETS := pdf-subdir  PDF_TARGETS := pdf-subdir pdf-prefixed-output
 endif # ifdef PREFIX  endif # ifdef PREFIX
 endif # }}} ifdef pdf_OUTPUT  endif # }}} ifdef pdf_OUTPUT
   
Line 215  ifneq ($(strip $(htm_OUTPUT)),) # {{{
Line 215  ifneq ($(strip $(htm_OUTPUT)),) # {{{
 ifneq ($(strip $(PREFIX)),)  ifneq ($(strip $(PREFIX)),)
 HTM_TARGETS := html-subdir html-prefixed-output  HTM_TARGETS := html-subdir html-prefixed-output
 else  else
 HTM_TARGETS := html-subdir  HTM_TARGETS := html-subdir html-prefixed-output
 endif # ifdef PREFIX  endif # ifdef PREFIX
 endif # }}} ifdef htm_OUTPUT  endif # }}} ifdef htm_OUTPUT
   
Line 223  ifneq ($(strip $(rtf_OUTPUT)),) # {{{
Line 223  ifneq ($(strip $(rtf_OUTPUT)),) # {{{
 ifneq ($(strip $(PREFIX)),)  ifneq ($(strip $(PREFIX)),)
 RTF_TARGETS := rtf-subdir rtf-prefixed-output  RTF_TARGETS := rtf-subdir rtf-prefixed-output
 else  else
 RTF_TARGETS := rtf-subdir  RTF_TARGETS := rtf-subdir rtf-prefixed-output
 endif # ifdef PREFIX  endif # ifdef PREFIX
 endif # }}} ifdef rtf_OUTPUT  endif # }}} ifdef rtf_OUTPUT
   
Line 305  ps-prefixed-output:
Line 305  ps-prefixed-output:
         @-for file in $(ps__OUTPUT); do \          @-for file in $(ps__OUTPUT); do \
                 echo "ln -f 'PostScript/$$file' '$(PREFIX)-$$file'"; \                  echo "ln -f 'PostScript/$$file' '$(PREFIX)-$$file'"; \
                         ln -f "PostScript/$$file" "$(PREFIX)-$$file" \                          ln -f "PostScript/$$file" "$(PREFIX)-$$file" \
                                 || cp -f "PostScript/$$file $(PREFIX)-$$file"; \                                  || cp -f "PostScript/$$file" "$(PREFIX)-$$file"; \
          done           done
   
 pdf-prefixed-output:  pdf-prefixed-output:
         @-for file in $(pdf_OUTPUT); do \          @-for file in $(pdf_OUTPUT); do \
                 echo "ln -f 'PDF/$$file' '$(PREFIX)-$$file'"; \                  echo "ln -f 'PDF/$$file' '$(PREFIX)-$$file'"; \
                         ln -f "PDF/$$file" "$(PREFIX)-$$file" \                          ln -f "PDF/$$file" "$(PREFIX)-$$file" \
                                 || cp -f "PDF/$$file $(PREFIX)-$$file"; \                                  || cp -f "PDF/$$file" "$(PREFIX)-$$file"; \
          done           done
   
 html-prefixed-output:  html-prefixed-output:
Line 320  html-prefixed-output:
Line 320  html-prefixed-output:
                 cssfile=$${file%.html}.css; \                  cssfile=$${file%.html}.css; \
                 echo "ln -f 'HTML/$$file' '$(PREFIX)-$$file'"; \                  echo "ln -f 'HTML/$$file' '$(PREFIX)-$$file'"; \
                         ln -f "HTML/$$file" "$(PREFIX)-$$file" \                          ln -f "HTML/$$file" "$(PREFIX)-$$file" \
                                 || cp -f "HTML/$$file $(PREFIX)-$$file"; \                                  || cp -f "HTML/$$file" "$(PREFIX)-$$file"; \
                 echo "ln -f 'HTML/$$cssfile' '$$cssfile'"; \                  echo "ln -f 'HTML/$$cssfile' '$$cssfile'"; \
                         ln -f "HTML/$$cssfile" "$$cssfile" \                          ln -f "HTML/$$cssfile" "$$cssfile" \
                                 || cp -f "HTML/$$cssfile $$cssfile"; \                                  || cp -f "HTML/$$cssfile" "$$cssfile"; \
                 echo "ln -s -f '$$cssfile' '$(PREFIX)-$$cssfile'"; \                  echo "ln -s -f '$$cssfile' '$(PREFIX)-$$cssfile'"; \
                         ln -s -f "$$cssfile" "$(PREFIX)-$$cssfile" \                          ln -s -f "$$cssfile" "$(PREFIX)-$$cssfile" \
                                 || cp -f "$$cssfile $(PREFIX)-$$cssfile"; \                                  || cp -f "$$cssfile" "$(PREFIX)-$$cssfile"; \
          done           done
   
 rtf-prefixed-output:  rtf-prefixed-output:
         @-for file in $(rtf_OUTPUT); do \          @-for file in $(rtf_OUTPUT); do \
                 echo "ln -f 'RTF/$$file' '$(PREFIX)-$$file'"; \                  echo "ln -f 'RTF/$$file' '$(PREFIX)-$$file'"; \
                         ln -f "RTF/$$file" "$(PREFIX)-$$file" \                          ln -f "RTF/$$file" "$(PREFIX)-$$file" \
                                 || cp -f "RTF/$$file $(PREFIX)-$$file"; \                                  || cp -f "RTF/$$file" "$(PREFIX)-$$file"; \
            done
   else # }}} {{{
   ps-prefixed-output:
           @-for file in $(ps__OUTPUT); do \
                   echo "ln -f 'PostScript/$$file' '$$file'"; \
                           ln -f "PostScript/$$file" "$$file" \
                                   || cp -f "PostScript/$$file" "$$file"; \
            done
   
   pdf-prefixed-output:
           @-for file in $(pdf_OUTPUT); do \
                   echo "ln -f 'PDF/$$file' '$$file'"; \
                           ln -f "PDF/$$file" "$$file" \
                                   || cp -f "PDF/$$file" "$$file"; \
            done
   
   html-prefixed-output:
           @-for file in $(htm_OUTPUT); do \
                   cssfile=$${file%.html}.css; \
                   echo "ln -f 'HTML/$$file' '$$file'"; \
                           ln -f "HTML/$$file" "$$file" \
                                   || cp -f "HTML/$$file" "$$file"; \
                   echo "ln -f 'HTML/$$cssfile' '$$cssfile'"; \
                           ln -f "HTML/$$cssfile" "$$cssfile" \
                                   || cp -f "HTML/$$cssfile" "$$cssfile"; \
                   echo "ln -s -f '$$cssfile' '$$cssfile'"; \
                           ln -s -f "$$cssfile" "$$cssfile" \
                                   || cp -f "$$cssfile" "$$cssfile"; \
            done
   
   rtf-prefixed-output:
           @-for file in $(rtf_OUTPUT); do \
                   echo "ln -f 'RTF/$$file' '$$file'"; \
                           ln -f "RTF/$$file" "$$file" \
                                   || cp -f "RTF/$$file" "$$file"; \
          done           done
 endif # }}} ifdef PREFIX  endif # }}} ifdef PREFIX
   

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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