/[classpath]/classpath/doc/www.gnu.org/docs/Makefile
ViewVC logotype

Diff of /classpath/doc/www.gnu.org/docs/Makefile

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

revision 1.2 by cbj, Fri Dec 13 02:12:17 2002 UTC revision 1.3 by cbj, Wed Feb 26 02:52:00 2003 UTC
# Line 3  SUBDIRS= Line 3  SUBDIRS=
3  ifndef WMK  ifndef WMK
4    export WMK=wmk    export WMK=wmk
5  endif  endif
6    ifndef WML
7      export WML=wml
8    endif
9    
10  TEXI_SRC        := $(wildcard ../../*.texinfo)  TEXI_SRC        := $(wildcard ../../*.texinfo)
11  VPATH = ../..  VPATH = ../..
# Line 13  WML_EN_OBJS = $(patsubst %.wml,%.en.html Line 16  WML_EN_OBJS = $(patsubst %.wml,%.en.html
16          texi2html -monolithic $<;          texi2html -monolithic $<;
17          echo '#!wml --include=..' > $@          echo '#!wml --include=..' > $@
18          sed -e 's/<HTML>/\^\#use wml::std::lang\^\#use wml::fmt::isolatin\^\#use wml::std::case global=upper\^<lang:new id=en short>\^<lang:star:slice:>\^\#include <include\/macros.wml>\^<HTML>/' -e 's/<BODY>/<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#1F00FF" ALINK="#FF0000" VLINK="#9900DD">/' -e 's/<\/BODY>/<footer>\^<\/BODY>/' $(subst .wml,.html,$(@)) > $@.sed;          sed -e 's/<HTML>/\^\#use wml::std::lang\^\#use wml::fmt::isolatin\^\#use wml::std::case global=upper\^<lang:new id=en short>\^<lang:star:slice:>\^\#include <include\/macros.wml>\^<HTML>/' -e 's/<BODY>/<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#1F00FF" ALINK="#FF0000" VLINK="#9900DD">/' -e 's/<\/BODY>/<footer>\^<\/BODY>/' $(subst .wml,.html,$(@)) > $@.sed;
19          tr "\^" "\n" < $@.sed >> $@          tr "\\^" "\n" < $@.sed >> $@
20          -rm -f $(subst .wml,.html,$(@)) $@.sed          -rm -f $(subst .wml,.html,$(@)) $@.sed
21    
22  %.en.html: %.wml ../include/macros.wml  %.en.html: %.wml ../include/macros.wml
23          $(WMK) -f $<          $(WML) -o $@ $<
24          -rm -f $(patsubst %.wml,%.html,$<)  #       -rm -f $(patsubst %.wml,%.html,$<)
25    
26  .PHONY : all  .PHONY : all
27  all : $(WML_EN_OBJS) subdirs  all : $(WML_EN_OBJS) subdirs

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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