+# Note: "make FRAMES=x" works too
FRAMES = yes
#FRAMES = no
-#DESTDIR = /projects/mowgli/public_html/frames
-#DESTDIR = /projects/mowgli/public_html/no_frames
DESTDIR = /projects/mowgli/public_html
#DESTDIR = /tmp/mowgli
-#HTMLDESTDIRSUFFIX = html_frames
-#HTMLDESTDIRSUFFIX = html_no_frames
-HTMLDESTDIRSUFFIX = html
+HTMLDESTDIRSUFFIX = html_$(FRAMES)_frames
HTMLDESTDIR = $(DESTDIR)/$(HTMLDESTDIRSUFFIX)
people/dfki/kohlhase.html \
people/dfki/melis.html \
people/dfki/siekmann.html \
+ people/dfki/moschner.html \
people/inria/amerkad.html \
people/inria/bertot.html \
people/inria/chicli.html \
index.html \
home.html \
menu.html \
- project-management.html \
- project-objectives.html \
- project-summary.html \
+ proposal/project-management.html \
+ proposal/project-objectives.html \
+ proposal/project-summary.html \
+ proposal/contribution.html \
+ proposal/innovation.html \
+ proposal/EC-contribution.html \
+ proposal/econ-scient-tech-prospects.html \
+ proposal/project-planning.html \
+ proposal/project-components.html \
consortium.html \
project.html \
news.html \
publications/others/tcs2001_og.html \
publications/others/tphols2000_gwz.html \
publications/others/tphols2001_apss.html \
+ publications/others/w3c_bl98.html \
+ publications/others/cup_hp91.html \
+ publications/others/cup_hp93.html \
+ publications/others/cc.html \
work-packages/index.html \
work-packages/distribution.html \
work-packages/information-dissemination-and-exploitation.html \
$(XSLTP) --param today `date +%Y%m%d` -o approaching-deadlines.xml $(XSLROOT)/approaching-deadlines.xsl $(XMLROOT)/other-events.xml
$(XSLTP) --param make_header "false()" --param path_to_top "'.'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) $(XMLROOT)/home.xml
-ifeq ($(FRAMES),yes)
menu.html: $(XMLROOT)/menu.xml
cp $< $@
index.html: $(TEMPLATESROOT)/index.html
cp $< $@
-else
-index.html: home.html
- cp $< $@
-#Same stuff as for home.html... but with a different path_to_top
-dot_dot_index.html: home.html
- $(XSLTP) --param make_header "false()" --param path_to_top "'html'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) $(XMLROOT)/home.xml
-endif
members/ml-help-example.txt: $(TEMPLATESROOT)/ml-help-example.txt
cp $< $@
$(XHTMLCONTENT)
$(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) $<
-project-management.html: $(XMLROOT)/project-management.xml \
+proposal/project-management.html: $(XMLROOT)/proposal/project-management.xml \
$(XHTMLCONTENT)
- sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'.'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
-project-summary.html: $(XMLROOT)/project-summary.xml \
+proposal/project-summary.html: $(XMLROOT)/proposal/project-summary.xml \
$(XHTMLCONTENT)
- sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'.'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
-project-objectives.html: $(XMLROOT)/project-objectives.xml \
+proposal/project-objectives.html: $(XMLROOT)/proposal/project-objectives.xml \
$(XHTMLCONTENT)
- sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'.'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+
+proposal/contribution.html: $(XMLROOT)/proposal/contribution.xml \
+ $(XHTMLCONTENT)
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+
+proposal/innovation.html: $(XMLROOT)/proposal/innovation.xml \
+ $(XHTMLCONTENT)
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+
+proposal/EC-contribution.html: $(XMLROOT)/proposal/EC-contribution.xml \
+ $(XHTMLCONTENT)
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+
+proposal/econ-scient-tech-prospects.html: $(XMLROOT)/proposal/econ-scient-tech-prospects.xml \
+ $(XHTMLCONTENT)
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+
+proposal/project-planning.html: $(XMLROOT)/proposal/project-planning.xml \
+ $(XHTMLCONTENT)
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
+
+proposal/project-components.html: $(XMLROOT)/proposal/project-components.xml \
+ $(XHTMLCONTENT)
+ sed $(RMDOCTYPE) $< | $(XSLTP) --param path_to_top "'..'" --param use_frames "'$(FRAMES)'" -o $@ $(XHTMLCONTENT) -
mowgli-events/kick-off.html: $(XMLROOT)/mowgli-events/kick-off.xml \
$(XHTMLCONTENT)
mkdir -p $(DESTDIR)/misc/contract
cp ../htaccess $(DESTDIR)/misc/contract/.htaccess
cp ../misc/contract/*.* $(DESTDIR)/misc/contract
- if [ -f dot_dot_index.html ] ; then cp dot_dot_index.html $(DESTDIR)/index.html ; else sed s/menu\\.html/$(HTMLDESTDIRSUFFIX)\\/menu\\.html/ <index.html | sed s/home\\.html/$(HTMLDESTDIRSUFFIX)\\/home\\.html/ >$(DESTDIR)/index.html ; fi
+ if [ $(FRAMES) = yes ] ; \
+ then \
+ sed s/menu\\.html/$(HTMLDESTDIRSUFFIX)\\/menu\\.html/ <index.html | \
+ sed s/home\\.html/$(HTMLDESTDIRSUFFIX)\\/home\\.html/ >$(DESTDIR)/index.html ; \
+ else \
+ cp home.html $(HTMLDESTDIR)/index.html ; \
+ fi
uninstall:
rm -rf $(DESTDIR)/*