/[gzz]/www/Makefile
ViewVC logotype

Diff of /www/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32 by Vegai, Mon Dec 16 14:59:59 2002 UTC revision 1.33 by Vegai, Mon Dec 16 15:02:45 2002 UTC
# Line 27  all: almost-all Line 27  all: almost-all
27          ln -s $$PWD/../gzz/Documentation/Gentle_Introduction gi          ln -s $$PWD/../gzz/Documentation/Gentle_Introduction gi
28          ln -s $$PWD/../gzz/Documentation/Glossary gl          ln -s $$PWD/../gzz/Documentation/Glossary gl
29          ln -s $$PWD/../gzz/Documentation/*.png .          ln -s $$PWD/../gzz/Documentation/*.png .
         $(MAKE) gif2png  
30    
31  almost-all: index.html docs.html faq.html download.html cvs.html starting.html mail.html snaps.html subdirs nutshell.html bugs.html gif2png  almost-all: index.html docs.html faq.html download.html cvs.html starting.html mail.html snaps.html subdirs nutshell.html bugs.html
   
 gif2png :  
         set -e ; set -x; for f in *.gif ; do \  
                 png=`basename $$f .gif`.png ; \  
                 convert $$f $$png; \  
                 for g in *.html ; do \  
                         if [ ! -e $$png.$$g.fixed ] ; then \  
                                 sed "s/$$f/$$png/g" $$g > $$g.new ; \  
                                 mv $$g.new $$g ; \  
                                 touch $$png.$$g.fixed ;\  
                         fi \  
                 done \  
         done  
32    
33  clean:  clean:
34          rm -f *.html *.fixed setup          rm -f *.html *.fixed setup
# Line 57  setup: Line 43  setup:
43          cvs -z3 -d$(USERNAME)@subversions.gnu.org:/webcvs/ co -d target non-gnu/gzz/          cvs -z3 -d$(USERNAME)@subversions.gnu.org:/webcvs/ co -d target non-gnu/gzz/
44          touch $@          touch $@
45    
46  mv : setup all gif2png  mv : setup all
47          rm -rf target-new          rm -rf target-new
48          mkdir target-new          mkdir target-new
49          cp -rL *.css *.html *.jpg *.png ug ct dp spec gi gl target-new          cp -rL *.css *.html *.jpg *.png ug ct dp spec gi gl target-new
# Line 65  mv : setup all gif2png Line 51  mv : setup all gif2png
51          cp -r target-new/* target          cp -r target-new/* target
52          @echo "Remember to commit."          @echo "Remember to commit."
53    
54  terse-mv: almost-all gif2png  terse-mv: almost-all
55          rm -rf target-new          rm -rf target-new
56          mkdir target-new          mkdir target-new
57          cp -rL *.css *.html *.jpg *.png target-new/          cp -rL *.css *.html *.jpg *.png target-new/

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

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26