summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/doc/www.gnu.org/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/doc/www.gnu.org/Makefile')
-rw-r--r--libjava/classpath/doc/www.gnu.org/Makefile46
1 files changed, 0 insertions, 46 deletions
diff --git a/libjava/classpath/doc/www.gnu.org/Makefile b/libjava/classpath/doc/www.gnu.org/Makefile
deleted file mode 100644
index 2724a1810ed..00000000000
--- a/libjava/classpath/doc/www.gnu.org/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-SUBDIRS := announce downloads docs faq events cp-tools
-
-ifndef WMK
- export WMK=wmk
-endif
-ifndef WML
- export WML=wml
-endif
-
-WML_SRC = $(wildcard *.wml)
-WML_OBJS = $(patsubst %.wml,%.html,$(WML_SRC))
-
-all : $(WML_OBJS) subdirs
-
-%.texinfo :
- cp ../$(notdir $(@)) docs
-
-# home and news html includes newsitems.txt so we list that here explicitly
-home.html: home.wml include/macros.wml include/layout.wml newsitems.txt
- $(WML) -o $@ $<
-news.html: news.wml include/macros.wml include/layout.wml newsitems.txt
- $(WML) -o $@ $<
-
-%.html: %.wml include/macros.wml include/layout.wml
- $(WML) -o $@ $<
-
-.PHONY : clean
-clean :
- $(foreach dir, $(SUBDIRS), sh -c "cd $(dir) && $(MAKE) clean";)
- -rm -f *.html
-
-.PHONY : subdirs
-subdirs :
- $(foreach dir, $(SUBDIRS), sh -c "cd $(dir) && $(MAKE)";)
-
-.PHONY : publish
-publish :
- @sh -c "if [ "$(CLASSPATH_WEBROOT)x" = x ]; then echo 'You must set CLASSPATH_WEBROOT in your environment first'; exit 1; fi"
- @sh -c "if [ ! -d $(CLASSPATH_WEBROOT) ]; then echo 'You must set CLASSPATH_WEBROOT in your environment first'; exit 1; fi"
- $(foreach dir, $(SUBDIRS), \
- sh -c "mkdir -p $(CLASSPATH_WEBROOT)/$(dir);\
- cd $(dir) && $(MAKE) publish";)
- -cp -f *.html $(CLASSPATH_WEBROOT)
- -cp -f *.css $(CLASSPATH_WEBROOT)
- # -cp -f *.jpg $(CLASSPATH_WEBROOT)
-
OpenPOWER on IntegriCloud