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/] [downloads/] [Makefile] - Blame information for rev 14

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 jlechner
ifndef WMK
2
  export WMK=wmk
3
endif
4
ifndef WML
5
  export WML=wml
6
endif
7
 
8
WML_SRC = $(wildcard *.wml)
9
WML_OBJS = $(patsubst %.wml,%.html,$(WML_SRC))
10
 
11
%.html: %.wml ../include/macros.wml  ../include/layout.wml
12
        $(WML) -o $@ $<
13
#       -rm -f $(patsubst %.wml,%.html,$<)
14
 
15
all : $(WML_OBJS) subdirs
16
 
17
.PHONY : clean
18
clean :
19
        $(foreach dir, $(SUBDIRS), sh -c "cd $(dir) && $(MAKE) clean";)
20
        -rm -f *.html
21
 
22
.PHONY : subdirs
23
subdirs :
24
        $(foreach dir, $(SUBDIRS), sh -c "cd $(dir) && $(MAKE)";)
25
 
26
.PHONY : publish
27
publish :
28
        @sh -c "if [ "$(CLASSPATH_WEBROOT)x" = x ]; then echo 'You must set CLASSPATH_WEBROOT in your environment first'; exit 1; fi"
29
        @sh -c "if [ ! -d $(CLASSPATH_WEBROOT) ]; then echo 'You must set CLASSPATH_WEBROOT in your environment first'; exit 1; fi"
30
        $(foreach dir, $(SUBDIRS), sh -c "cd $(dir) && $(MAKE) publish";)
31
        -cp -f *.html $(CLASSPATH_WEBROOT)/downloads/
32
 

powered by: WebSVN 2.1.0

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