[Pkg-ocaml-maint-commits] r3980 - /trunk/tools/ocaml-debian-status/Makefile
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Thu Jul 12 09:33:58 UTC 2007
Author: zack
Date: Thu Jul 12 09:33:58 2007
New Revision: 3980
URL: http://svn.debian.org/wsvn/?sc=1&rev=3980
Log:
makefile
Added:
trunk/tools/ocaml-debian-status/Makefile
- copied, changed from r3977, trunk/tools/build-dep-graph/Makefile
Copied: trunk/tools/ocaml-debian-status/Makefile (from r3977, trunk/tools/build-dep-graph/Makefile)
URL: http://svn.debian.org/wsvn/trunk/tools/ocaml-debian-status/Makefile?rev=3980&op=diff
==============================================================================
--- trunk/tools/build-dep-graph/Makefile (original)
+++ trunk/tools/ocaml-debian-status/Makefile Thu Jul 12 09:33:58 2007
@@ -1,28 +1,27 @@
+NULL =
+HTML = debian-ocaml-status.html
INSTALL_STUFF = \
- ocaml_build_deps.dot \
- ocaml_build_deps.png \
- ocaml_build_deps.ps \
- ocaml_src_pkgs.html \
- ocaml_src_pkgs.txt \
- build_order.txt
+ $(HTML) \
+ ocaml-status.css \
+ $(NULL)
+PACKAGES = $(wildcard data/*Packages*)
+SOURCES = $(wildcard data/*Sources*)
+DATA = $(PACKAGES) $(SOURCES)
-all: ocaml_build_deps.ps ocaml_build_deps.png ocaml_src_pkgs.html build_order.txt
-# to be used on alioth for updating graphs and lists linked by pkg-ocaml-maint home page
-install:
+all: retrieve $(HTML)
+clean:
+ rm -f $(HTML)
+distclean: clean
+ rm -rf data/
+
+# to be used on alioth for updating Debian OCaml status page
+install: all
cp $(INSTALL_STUFF) ~/pkg-ocaml-maint/htdocs/
-ocaml_src_pkgs.html: ocaml_src_pkgs.txt
- echo "<html><head><title>OCaml Source Packages</title></head><body>" > $@
- echo "<b>OCaml Source Packages</b><br />" >> $@
- for l in `cat ocaml_src_pkgs.txt`; do \
- echo "<a href='http://packages.qa.debian.org/$$l'>$$l</a><br />" >> $@; \
- done
- echo "</body></html>" >> $@
-ocaml_build_deps.dot: ocaml_src_pkgs.txt
- ./update_src_list.sh
- ./build-dep-graph.pl < $< > $@
-build_order.txt: ocaml_build_deps.dot
- ./slice.ml ocaml $< > $@
-%.png: %.dot
- dot -Tpng $< > $@
-%.ps: %.dot
- dot -Tps $< > $@
+
+.PHONY: retrieve
+retrieve:
+ ./retrieve-data.sh
+
+$(HTML): $(patsubst %.html, %.genshi, $(HTML)) $(DATA)
+ ./debian-ocaml-status.py $(DATA) > $@
+
More information about the Pkg-ocaml-maint-commits
mailing list