Commit 71903ba6 authored by Roland Levillain's avatar Roland Levillain
Browse files

Distribute and clean documentation timestamps.

	* doc/Makefile.am (EXTRA_DIST, MAINTAINERCLEANFILES):
	Add $(srcdir)/user-refman.stamp, $(srcdir)/devel-refman.stamp,
	$(srcdir)/figures.stamp, $(srcdir)/split-examples.stamp and
	$(srcdir)/split-outputs.stamp.
parent fb074a93
2010-03-15 Roland Levillain <roland@lrde.epita.fr>
Distribute and clean documentation timestamps.
* doc/Makefile.am (EXTRA_DIST, MAINTAINERCLEANFILES):
Add $(srcdir)/user-refman.stamp, $(srcdir)/devel-refman.stamp,
$(srcdir)/figures.stamp, $(srcdir)/split-examples.stamp and
$(srcdir)/split-outputs.stamp.
2010-03-15 Roland Levillain <roland@lrde.epita.fr> 2010-03-15 Roland Levillain <roland@lrde.epita.fr>
   
Improve doc/'s cleaning rules. Improve doc/'s cleaning rules.
...@@ -157,6 +157,8 @@ $(srcdir)/$(USER_REFMAN_PDF): $(srcdir)/$(USER_REFMAN) ...@@ -157,6 +157,8 @@ $(srcdir)/$(USER_REFMAN_PDF): $(srcdir)/$(USER_REFMAN)
cd $(srcdir)/$(USER_REFMAN)/latex && $(MAKE) $(AM_MAKEFLAGS) pdf cd $(srcdir)/$(USER_REFMAN)/latex && $(MAKE) $(AM_MAKEFLAGS) pdf
cp -f $(srcdir)/$(USER_REFMAN)/latex/refman.pdf $@ cp -f $(srcdir)/$(USER_REFMAN)/latex/refman.pdf $@
EXTRA_DIST += $(srcdir)/user-refman.stamp
MAINTAINERCLEANFILES += $(srcdir)/user-refman.stamp
## FIXME: Are dependencies (`$(refman_dependencies)') set on the right ## FIXME: Are dependencies (`$(refman_dependencies)') set on the right
## rule? Does Doxygen make a copy of figures, or does it generate ## rule? Does Doxygen make a copy of figures, or does it generate
## LaTeX inputs relying on the existence of such figures in the ## LaTeX inputs relying on the existence of such figures in the
...@@ -238,6 +240,8 @@ $(srcdir)/$(DEVEL_REFMAN_PDF): $(srcdir)/$(DEVEL_REFMAN) ...@@ -238,6 +240,8 @@ $(srcdir)/$(DEVEL_REFMAN_PDF): $(srcdir)/$(DEVEL_REFMAN)
cd $(srcdir)/$(DEVEL_REFMAN)/latex && $(MAKE) $(AM_MAKEFLAGS) pdf cd $(srcdir)/$(DEVEL_REFMAN)/latex && $(MAKE) $(AM_MAKEFLAGS) pdf
cp -f $(srcdir)/$(DEVEL_REFMAN)/latex/refman.pdf $@ cp -f $(srcdir)/$(DEVEL_REFMAN)/latex/refman.pdf $@
EXTRA_DIST += $(srcdir)/devel-refman.stamp
MAINTAINERCLEANFILES += $(srcdir)/devel-refman.stamp
## FIXME: Are dependencies (`$(refman_dependencies)') set on the right ## FIXME: Are dependencies (`$(refman_dependencies)') set on the right
## rule? Does Doxygen make a copy of figures, or does it generate ## rule? Does Doxygen make a copy of figures, or does it generate
## LaTeX inputs relying on the existence of such figures in the ## LaTeX inputs relying on the existence of such figures in the
...@@ -693,7 +697,8 @@ MAINTAINERCLEANFILES += $(REF_GUIDE_HH) ...@@ -693,7 +697,8 @@ MAINTAINERCLEANFILES += $(REF_GUIDE_HH)
$(srcdir)/figures/figures.mk: $(srcdir)/headers.stamp $(srcdir)/figures/figures.mk: $(srcdir)/headers.stamp
include $(srcdir)/figures/figures.mk include $(srcdir)/figures/figures.mk
EXTRA_DIST += figures.stamp EXTRA_DIST += $(srcdir)/figures.stamp
MAINTAINERCLEANFILES += $(srcdir)/figures.stamp
$(srcdir)/figures.stamp: $(FIGURES_SRCDIR)/*.p*m $(srcdir)/figures.stamp: $(FIGURES_SRCDIR)/*.p*m
rm -f $@.tmp rm -f $@.tmp
touch $@.tmp touch $@.tmp
...@@ -1005,6 +1010,8 @@ EXAMPLES = \ ...@@ -1005,6 +1010,8 @@ EXAMPLES = \
# files easier. We probably also nee a stamp file to keep track of # files easier. We probably also nee a stamp file to keep track of
# dependencies. # dependencies.
EXTRA_DIST += $(srcdir)/split-examples.stamp
MAINTAINERCLEANFILES += $(srcdir)/split-examples.stamp
# FIXME: Loops are bad, as they prevent parallelism. And we prefer # FIXME: Loops are bad, as they prevent parallelism. And we prefer
# data-driven actions anyway. This would imply that we know in # data-driven actions anyway. This would imply that we know in
# advance the list out outputs (here, split examples). Maybe we can # advance the list out outputs (here, split examples). Maybe we can
...@@ -1020,6 +1027,8 @@ $(srcdir)/split-examples.stamp: $(EXAMPLES) ...@@ -1020,6 +1027,8 @@ $(srcdir)/split-examples.stamp: $(EXAMPLES)
done done
@mv -f $@.tmp $@ @mv -f $@.tmp $@
EXTRA_DIST += $(srcdir)/split-outputs.stamp
MAINTAINERCLEANFILES += $(srcdir)/split-outputs.stamp
# FIXME: Loops are bad, as they prevent parallelism. And we prefer # FIXME: Loops are bad, as they prevent parallelism. And we prefer
# data-driven actions anyway. This would imply that we know in # data-driven actions anyway. This would imply that we know in
# advance the list out outputs (here, split outputs). Maybe we can # advance the list out outputs (here, split outputs). Maybe we can
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment