Commit 96938fc1 authored by Roland Levillain's avatar Roland Levillain
Browse files

Make Scribo more compatible with BSD Make.

	* doc/Makefile.am: Do not use `$<' outside suffix rules.
	* Makefile.am,
	* tests/unit_test/Makefile.am:
	Adjust comments.
parent c2ba187b
2014-06-26 Roland Levillain <roland@lrde.epita.fr>
Make Scribo more compatible with BSD Make.
* doc/Makefile.am: Do not use `$<' outside suffix rules.
* Makefile.am,
* tests/unit_test/Makefile.am:
Adjust comments.
2014-06-25 Roland Levillain <roland@lrde.epita.fr>
Convert Scribo to UTF-8.
......
# Copyright (C) 2009, 2010, 2011, 2012 EPITA Research and Development
# Copyright (C) 2009, 2010, 2011, 2012, 2014 EPITA Research and Development
# Laboratory (LRDE).
#
# This file is part of Olena.
......@@ -36,7 +36,8 @@ regen-am:
# FIXME: Change generate_dist_headers.sh so that the action looks like this:
#
# $< $@.tmp && mv -f $@.tmp $@ && chmod -w $@
# $(top_srcdir)/build-aux/generate_dist_headers.sh \
# $@.tmp && mv -f $@.tmp $@ && chmod -w $@
#
$(srcdir)/headers.mk: $(top_srcdir)/build-aux/generate_dist_headers.sh
cd $(srcdir) \
......
......@@ -56,7 +56,7 @@ edit = sed -e "s|@ID[@]|$(ID)|" \
-e 's,@builddir[@],$(builddir),g'
$(DOXYFILE_USER): $(srcdir)/$(DOXYFILE).in
$(edit) $< >$@
$(edit) $(srcdir)/$(DOXYFILE).in >$@
MAINTAINERCLEANFILES = $(DOXYFILE_USER)
USER_REFMAN = user-refman
......@@ -94,8 +94,8 @@ $(srcdir)/user-refman.stamp: $(srcdir)/$(DOXYFILE).in $(REFMAN_deps)
$(srcdir)/$(USER_REFMAN): $(srcdir)/user-refman.stamp
## Recover from the removal of $@.
@if test -d $@; then :; else \
rm -f $<; \
$(MAKE) $(AM_MAKEFLAGS) $<; \
rm -f $(srcdir)/user-refman.stamp; \
$(MAKE) $(AM_MAKEFLAGS) $(srcdir)/user-refman.stamp; \
fi
# Installing a directory located in the source dir is not supported by
......@@ -137,7 +137,7 @@ edit_devel = sed \
$(DOXYFILE_DEVEL): $(srcdir)/$(DOXYFILE).in
rm -f $@.tmp
$(edit) $< >$@.tmp
$(edit) $(srcdir)/$(DOXYFILE).in >$@.tmp
$(edit_devel) $@.tmp >$@
rm -f $@.tmp
MAINTAINERCLEANFILES += $(DOXYFILE_DEVEL)
......@@ -176,8 +176,8 @@ $(srcdir)/devel-refman.stamp: $(srcdir)/$(DOXYFILE).in $(REFMAN_deps)
$(srcdir)/$(DEVEL_REFMAN): $(srcdir)/devel-refman.stamp
## Recover from the removal of $@.
@if test -d $@; then :; else \
rm -f $<; \
$(MAKE) $(AM_MAKEFLAGS) $<; \
rm -f $(srcdir)/devel-refman.stamp; \
$(MAKE) $(AM_MAKEFLAGS) $(srcdir)/devel-refman.stamp; \
fi
## -------------- ##
......
# Copyright (C) 2009, 2010, 2011 EPITA Research and Development
# Copyright (C) 2009, 2010, 2011, 2014 EPITA Research and Development
# Laboratory (LRDE).
#
# This file is part of Olena.
......@@ -48,7 +48,8 @@ regen-am:
# FIXME: Change build_unit_test.sh so that the action looks like this:
#
# $< $@.tmp && mv -f $@.tmp $@ && chmod -w $@
# $(top_srcdir)/build-aux/build_unit_test.sh \
# $@.tmp && mv -f $@.tmp $@ && chmod -w $@
#
# `$(abs_top_srcdir)' is required because of the change of directory
# at the beginning og the action.
......
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