* doc/Makefile.am,
* doc/ref_guide/Makefile.am,
* doc/technical/Makefile.am,
* doc/tutorial/Makefile.am,
* doc/white_paper/Makefile.am
(fake-doc, void-doc): Remove targets.
---
milena/ChangeLog | 11 ++++++++++
milena/doc/Makefile.am | 37 +-----------------------------------
milena/doc/ref_guide/Makefile.am | 16 +--------------
milena/doc/technical/Makefile.am | 16 +--------------
milena/doc/tutorial/Makefile.am | 17 +--------------
milena/doc/white_paper/Makefile.am | 19 +-----------------
6 files changed, 17 insertions(+), 99 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 2c40c47..9c4f57f 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,16 @@
2010-03-02 Roland Levillain <roland(a)lrde.epita.fr>
+ Get rid of Make targets `fake-doc' and `void-doc'.
+
+ * doc/Makefile.am,
+ * doc/ref_guide/Makefile.am,
+ * doc/technical/Makefile.am,
+ * doc/tutorial/Makefile.am,
+ * doc/white_paper/Makefile.am
+ (fake-doc, void-doc): Remove targets.
+
+2010-03-02 Roland Levillain <roland(a)lrde.epita.fr>
+
Regen Milena's Makefile helpers.
* headers.mk, tests/unit_test/unit-tests.mk: Here.
diff --git a/milena/doc/Makefile.am b/milena/doc/Makefile.am
index de65f3e..5d80a1c 100644
--- a/milena/doc/Makefile.am
+++ b/milena/doc/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2007, 2008, 2009 EPITA Research and Development
+# Copyright (C) 2007, 2008, 2009, 2010 EPITA Research and Development
# Laboratory (LRDE).
#
# This file is part of Olena.
@@ -316,38 +316,3 @@ $(srcdir)/Doxyfile_devel: $(srcdir)/Doxyfile.in
$(srcdir)/Doxyfile_devel_pdf: Doxyfile_devel
$(edit_pdf) $< >$@
-
-
-#<<lrde
-# Pretend the documentation is up-to-date. This is really useful for
-# developers who want to check the distribution mechanism, for
-# generating the Doxygen documentation make take up to 1 hour.
-#
-# We selectively refresh files by hand in a certain order (some
-# of them being already listed in EXTRA_DIST), to satisfy the
-# dependencies.
-.PHONY: fake-doc
-fake-doc:
- cd $(srcdir) && touch $(EXTRA_DIST)
- cd ref_guide && $(MAKE) $(AM_MAKEFLAGS) $@
- cd tutorial && $(MAKE) $(AM_MAKEFLAGS) $@
- cd white_paper && $(MAKE) $(AM_MAKEFLAGS) $@
- touch $(EXTRA_DEPS)
- touch $(srcdir)/Doxyfile_devel
- touch $(srcdir)/Doxyfile_devel_pdf
- touch $(srcdir)/Doxyfile_user
- touch $(srcdir)/Doxyfile_user_pdf
- cd $(srcdir) && test -d user || mkdir user
- for d in $(srcdir)/$(USER_REFMAN_HTML) $(srcdir)/user/latex; do \
- if test -d $$d; then touch $$d; else mkdir $$d; fi; \
- done
- touch $(srcdir)/$(USER_REFMAN_PDF)
-
-# The converse of the previous rule, voiding the timestamps.
-.PHONY: void-doc
-void-doc:
- touch $(srcdir)/Doxyfile.in
- cd ref_guide && $(MAKE) $(AM_MAKEFLAGS) $@
- cd tutorial && $(MAKE) $(AM_MAKEFLAGS) $@
- cd white_paper && $(MAKE) $(AM_MAKEFLAGS) $@
-#>>
diff --git a/milena/doc/ref_guide/Makefile.am b/milena/doc/ref_guide/Makefile.am
index 9870a07..fa953e4 100644
--- a/milena/doc/ref_guide/Makefile.am
+++ b/milena/doc/ref_guide/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE).
+# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
@@ -96,17 +96,3 @@ CLEANFILES = \
ref_guide.html \
ref_guide.idx \
$(REF_GUIDE_HH)
-
-
-#<<lrde
-# Pretend the documentation is up-to-date.
-.PHONY: fake-doc
-fake-doc:
- touch $(REF_GUIDE_HH)
- touch $(REF_GUIDE_PDF)
-
-# The converse of the previous rule, voiding the timestamps.
-.PHONY: void-doc
-void-doc:
- touch $(srcdir)/ref_guide.tex
-#>>
diff --git a/milena/doc/technical/Makefile.am b/milena/doc/technical/Makefile.am
index 14cdeb3..3789b91 100644
--- a/milena/doc/technical/Makefile.am
+++ b/milena/doc/technical/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE).
+# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
@@ -96,17 +96,3 @@ CLEANFILES = \
technical.html \
technical.idx \
$(TECHNICAL_HH)
-
-
-#<<lrde
-# Pretend the documentation is up-to-date.
-.PHONY: fake-doc
-fake-doc:
- touch $(TECHNICAL_HH)
- touch $(TECHNICAL_PDF)
-
-# The converse of the previous rule, voiding the timestamps.
-.PHONY: void-doc
-void-doc:
- touch $(srcdir)/technical.tex
-#>>
diff --git a/milena/doc/tutorial/Makefile.am b/milena/doc/tutorial/Makefile.am
index 12f52ad..5085633 100644
--- a/milena/doc/tutorial/Makefile.am
+++ b/milena/doc/tutorial/Makefile.am
@@ -1,4 +1,5 @@
-# Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE).
+# Copyright (C) 2008, 2009, 2010 EPITA Research and Development
+# Laboratory (LRDE).
#
# This file is part of Olena.
#
@@ -95,17 +96,3 @@ CLEANFILES = \
tutorial.html \
tutorial.idx \
$(TUTORIAL_HH)
-
-
-#<<lrde
-# Pretend the documentation is up-to-date.
-.PHONY: fake-doc
-fake-doc:
- touch $(TUTORIAL_HH)
- touch $(TUTORIAL_PDF)
-
-# The converse of the previous rule, voiding the timestamps.
-.PHONY: void-doc
-void-doc:
- touch $(srcdir)/tutorial.tex
-#>>
diff --git a/milena/doc/white_paper/Makefile.am b/milena/doc/white_paper/Makefile.am
index 66b42cb..24d619d 100644
--- a/milena/doc/white_paper/Makefile.am
+++ b/milena/doc/white_paper/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE).
+# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
@@ -96,20 +96,3 @@ CLEANFILES = \
clean-local:
-rm -rf white_paper_html figures
-
-
-#<<lrde
-# Pretend the documentation is up-to-date.
-.PHONY: fake-doc
-fake-doc:
- test -d figures || mkdir figures
- touch $(EPSS)
- test -d $(srcdir)/white_paper_html || mkdir $(srcdir)/white_paper_html
- touch $(WHITE_PAPER_HTML)
- touch $(WHITE_PAPER_PDF)
-
-# The converse of the previous rule, voiding the timestamps.
-.PHONY: void-doc
-void-doc:
- touch $(srcdir)/white_paper.tex
-#>>
--
1.5.6.5