Commit 6ff853df authored by Roland Levillain's avatar Roland Levillain
Browse files

Remove mentions to trash/ directories in Milena.

	* doc/Doxyfile.in (EXCLUDE)
	* doc/Makefile.am ($(srcdir)/outputs.mk, regen-outputs-mk)
	($(srcdir)/examples-outputs.mk, regen-examples-outputs-mk)
	* doc/gen-figures-mk,
	* doc/gen-split-outputs-mk:
	Here.
parent 2957d517
2014-06-20 Roland Levillain <roland@lrde.epita.fr>
Remove mentions to trash/ directories in Milena.
* doc/Doxyfile.in (EXCLUDE)
* doc/Makefile.am ($(srcdir)/outputs.mk, regen-outputs-mk)
($(srcdir)/examples-outputs.mk, regen-examples-outputs-mk)
* doc/gen-figures-mk,
* doc/gen-split-outputs-mk:
Here.
2014-06-20 Roland Levillain <roland@lrde.epita.fr>
 
Regen files in Milena.
......@@ -705,9 +705,7 @@ RECURSIVE = YES
# run.
EXCLUDE = @top_srcdir@/milena/sandbox \
@top_srcdir@/milena/trash \
@top_srcdir@/milena/mln/core/concept/proxy.hxx \
@top_srcdir@/milena/doc/examples/trash \
@top_srcdir@/milena/doc/user-refman \
@top_srcdir@/milena/doc/devel-refman \
@top_srcdir@/milena/tests/unit_test
......
# Copyright (C) 2007, 2008, 2009, 2010, 2013 EPITA Research and
# Copyright (C) 2007, 2008, 2009, 2010, 2013, 2014 EPITA Research and
# Development Laboratory (LRDE).
#
# This file is part of Olena.
......@@ -601,10 +601,8 @@ CLEANFILES = $(PROGRAMS_examples)
$(srcdir)/outputs.mk: $(srcdir)/gen-make-variable
rm -f $@.tmp
# Ignore sources in examples/trash/.
$(srcdir)/gen-make-variable OUTPUTS \
`find $(srcdir)/examples \
-name \*.cc -a \! -path $(srcdir)/examples/trash/\* \
`find $(srcdir)/examples -name \*.cc \
| sed -e 's,$(srcdir)/examples/,,' \
-e 'y,/,_,' \
-e 's,\(.*\)\.cc$$,$$(srcdir)/outputs/\1.txt,'` \
......@@ -618,10 +616,8 @@ MAINTAINERCLEANFILES += $(OUTPUTS)
.PHONY: regen-outputs-mk
regen-outputs-mk:
rm -f $(srcdir)/outputs.mk.tmp
# Ignore sources in examples/trash/.
$(srcdir)/gen-make-variable OUTPUTS \
`find $(srcdir)/examples \
-name \*.cc -a \! -path $(srcdir)/examples/trash/\* \
`find $(srcdir)/examples -name \*.cc \
| sed -e 's,$(srcdir)/examples/,,' \
-e 'y,/,_,' \
-e 's,\(.*\)\.cc$$,$$(srcdir)/outputs/\1.txt,'` \
......@@ -647,11 +643,9 @@ EXTRA_DIST += gen-examples-outputs-mk
$(srcdir)/examples-outputs.mk: $(srcdir)/gen-examples-outputs-mk
rm -f $@.tmp
# Ignore sources in examples/trash/.
cd $(srcdir) && \
./gen-examples-outputs-mk \
`find examples -name \*.cc -a \! -path examples/trash/\* \
| env LC_ALL=C sort` \
`find examples -name \*.cc | env LC_ALL=C sort` \
>examples-outputs.mk.tmp
mv -f $@.tmp $@
chmod -w $@
......@@ -662,8 +656,7 @@ regen-examples-outputs-mk:
rm -f $(srcdir)/examples-outputs.mk.tmp
cd $(srcdir) && \
./gen-examples-outputs-mk \
`find examples -name \*.cc -a \! -path examples/trash/\* \
| env LC_ALL=C sort` \
`find examples -name \*.cc | env LC_ALL=C sort` \
>examples-outputs.mk.tmp
mv -f $(srcdir)/examples-outputs.mk.tmp $(srcdir)/examples-outputs.mk
chmod -w $(srcdir)/examples-outputs.mk
......
#! /bin/sh
# Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE).
# Copyright (C) 2010, 2014 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
......@@ -25,9 +25,9 @@ export LC_ALL=C
inputs()
{
# Remove the .cc extension before sorting file names.
find examples -name \*.cc -a \! -path examples/trash/\* \
| sed 's/.cc$//' \
| sort \
find examples -name \*.cc \
| sed 's/.cc$//' \
| sort \
| sed 's/$/.cc/'
}
......
#! /bin/sh
# Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE).
# Copyright (C) 2010, 2014 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
......@@ -50,7 +50,6 @@ backslashify()
inputs()
{
# Remove the .cc extension before sorting file names.
# FIXME: Or find examples -name \*.cc -a \! -path examples/trash/\* ?
find examples -name \*.cc \
| sed 's/.cc$//' \
| sort \
......
Markdown is supported
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