OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libjava/] [classpath/] [doc/] [www.gnu.org/] [docs/] [Makefile] - Blame information for rev 14

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 jlechner
SUBDIRS=
2
 
3
ifndef WMK
4
  export WMK=wmk
5
endif
6
ifndef WML
7
  export WML=wml
8
endif
9
 
10
TEXI_SRC        := $(wildcard ../../*.texinfo)
11
VPATH = ../..
12
WML_SRC = $(patsubst ../../%, %, $(TEXI_SRC:.texinfo=.html)) $(wildcard *.wml)
13
WML_OBJS = $(patsubst %.wml,%.html,$(WML_SRC))
14
 
15
%.html : %.texinfo
16
        texi2html -monolithic --ifinfo --ifhtml $<
17
#       texi2html -monolithic $<;
18
#       cp $< $@
19
#       echo '#!wml --include=..' > $@
20
#       sed -e 's//\^\#use wml::std::lang\^\#use wml::fmt::isolatin\^\#use wml::std::case global=upper\^\^\^\#include \^/' -e 's///' -e 's/<\/BODY>/
\^<\/BODY>/' $(subst .wml,.html,$(@)) > $@.sed;
21
#       tr "\\^" "\n" < $@.sed >> $@
22
#       -rm -f $(subst .wml,.html,$(@)) $@.sed
23
 
24
%.html: %.wml ../include/macros.wml  ../include/layout.wml
25
        $(WML) -o $@ $<
26
#       -rm -f $(patsubst %.wml,%.html,$<)
27
 
28
.PHONY : all
29
all : $(WML_OBJS) subdirs
30
 
31
.PHONY : clean
32
clean :
33
        $(foreach dir, $(SUBDIRS), sh -c "cd $(dir) && $(MAKE) clean";)
34
        -rm -f *.html
35
        -rm -f hacking.wml vmintegration.wml
36
 
37
.PHONY : subdirs
38
subdirs :
39
        $(foreach dir, $(SUBDIRS), sh -c "cd $(dir) && $(MAKE)";)
40
 
41
.PHONY : publish
42
publish :
43
        @sh -c "if [ "$(CLASSPATH_WEBROOT)x" = x ]; then echo 'You must set CLASSPATH_WEBROOT in your environment first'; exit 1; fi"
44
        @sh -c "if [ ! -d $(CLASSPATH_WEBROOT) ]; then echo 'You must set CLASSPATH_WEBROOT in your environment first'; exit 1; fi"
45
        $(foreach dir, $(SUBDIRS), sh -c "cd $(dir) && $(MAKE) publish";)
46
        -cp -f *.html $(CLASSPATH_WEBROOT)/docs/
47
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.