Commit 824da2a5 authored by gourne_o's avatar gourne_o
Browse files

from Olivier Gournet <gourne_o@lrde.epita.fr>

	* sdf-detgen/configure.ac,
	* sdf-detgen/src/xtc/Makefile.am,
	* cxx-basic/configure.ac,
	* esdf/configure.ac,
	* esdf/src/sdf-purify/Makefile.am,
	* esdf/src/pack-esdf/Makefile.am,
	* sdf-option/configure.ac,
	* sdf-option/src/Makefile.am,
	* cxx-grammar/configure.ac,
	* sdf-astgen/configure.ac,
	* sdf-astgen/src/pp/Makefile.am,
	* sdf-astgen/src/sdf-astgen/Makefile.am,
	* sdf-astgen/src/parser/Makefile.am,
	* boxedsdf/configure.ac,
	* boxedsdf/src/pp/Makefile.am,
	* boxedsdf/src/boxed2pp-table/Makefile.am,
	* boxedsdf/src/boxedsdf-merge/Makefile.am,
	* boxedsdf/src/parser/Makefile.am,
	* boxedsdf/src/boxedsdf-update/Makefile.am,
	* specs-grammar/configure.ac,
	* configure.ac: Set help2man optional.
parent 3a05616e
2004-05-12 Olivier Gournet <gourne_o@lrde.epita.fr>
* sdf-detgen/configure.ac,
* sdf-detgen/src/xtc/Makefile.am,
* cxx-basic/configure.ac,
* esdf/configure.ac,
* esdf/src/sdf-purify/Makefile.am,
* esdf/src/pack-esdf/Makefile.am,
* sdf-option/configure.ac,
* sdf-option/src/Makefile.am,
* cxx-grammar/configure.ac,
* sdf-astgen/configure.ac,
* sdf-astgen/src/pp/Makefile.am,
* sdf-astgen/src/sdf-astgen/Makefile.am,
* sdf-astgen/src/parser/Makefile.am,
* boxedsdf/configure.ac,
* boxedsdf/src/pp/Makefile.am,
* boxedsdf/src/boxed2pp-table/Makefile.am,
* boxedsdf/src/boxedsdf-merge/Makefile.am,
* boxedsdf/src/parser/Makefile.am,
* boxedsdf/src/boxedsdf-update/Makefile.am,
* specs-grammar/configure.ac,
* configure.ac: Set help2man optional.
2004-05-07 Valentin David <valentin@lrde.epita.fr> 2004-05-07 Valentin David <valentin@lrde.epita.fr>
* configure.ac: Activate shell wrapper for bundled boxedsdf. * configure.ac: Activate shell wrapper for bundled boxedsdf.
......
...@@ -50,8 +50,10 @@ IF_IN_BUNDLE([esdf]) || test -f $ESDF/bin/pack-esdf || ...@@ -50,8 +50,10 @@ IF_IN_BUNDLE([esdf]) || test -f $ESDF/bin/pack-esdf ||
AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE]) AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE])
if test x"$HELP2MAN" = xNONE; then if test x"$HELP2MAN" = xNONE; then
AC_MSG_ERROR([cannot find help2man. Check your path.]) AC_MSG_WARN([cannot find help2man. This isn't mandatory. You will
only not be able to generate manpages.])
fi fi
AM_CONDITIONAL([HAVE_HELP2MAN], [test x"$HELP2MAN" != xNONE])
AC_SUBST([HELP2MAN]) AC_SUBST([HELP2MAN])
AC_PROG_CC AC_PROG_CC
......
...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt
-include boxed2pp-table.c.dep -include boxed2pp-table.c.dep
bin_PROGRAMS = boxed2pp-table bin_PROGRAMS = boxed2pp-table
man_MANS = boxed2pp-table.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(top_builddir)/src/syn \ STRINCLUDES = -I $(top_builddir)/src/syn \
-I $(ASFIX_TOOLS)/share/asfix-tools \ -I $(ASFIX_TOOLS)/share/asfix-tools \
...@@ -14,6 +13,11 @@ CLEANFILES = boxed2pp-table.{c.dep,c} $(man_MANS) boxed2pp-table.inc ...@@ -14,6 +13,11 @@ CLEANFILES = boxed2pp-table.{c.dep,c} $(man_MANS) boxed2pp-table.inc
nodist_boxed2pp_table_SOURCES = boxed2pp-table.c nodist_boxed2pp_table_SOURCES = boxed2pp-table.c
EXTRA_DIST = boxed2pp-table.str EXTRA_DIST = boxed2pp-table.str
if HAVE_HELP2MAN
man_MANS = boxed2pp-table.1
EXTRA_DIST += boxed2pp-table.1
endif
boxed2pp-table.1: boxed2pp-table boxed2pp-table.inc boxed2pp-table.1: boxed2pp-table boxed2pp-table.inc
$(HELP2MAN) -S LRDE -i boxed2pp-table.inc \ $(HELP2MAN) -S LRDE -i boxed2pp-table.inc \
--no-info ./boxed2pp-table -o $@ --no-info ./boxed2pp-table -o $@
......
...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt
-include boxedsdf-merge.c.dep -include boxedsdf-merge.c.dep
bin_PROGRAMS = boxedsdf-merge bin_PROGRAMS = boxedsdf-merge
man_MANS = boxedsdf-merge.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(top_builddir)/src/syn \ STRINCLUDES = -I $(top_builddir)/src/syn \
-I $(XTC)/share/xtc \ -I $(XTC)/share/xtc \
...@@ -15,6 +14,11 @@ CLEANFILES = boxedsdf-merge.{c.dep,c} $(man_MANS) boxedsdf-merge.inc ...@@ -15,6 +14,11 @@ CLEANFILES = boxedsdf-merge.{c.dep,c} $(man_MANS) boxedsdf-merge.inc
nodist_boxedsdf_merge_SOURCES = boxedsdf-merge.c nodist_boxedsdf_merge_SOURCES = boxedsdf-merge.c
EXTRA_DIST = boxedsdf-merge.str EXTRA_DIST = boxedsdf-merge.str
if HAVE_HELP2MAN
man_MANS = boxedsdf-merge.1
EXTRA_DIST += boxedsdf-merge.1
endif
boxedsdf-merge.1: boxedsdf-merge boxedsdf-merge.inc boxedsdf-merge.1: boxedsdf-merge boxedsdf-merge.inc
$(HELP2MAN) -S LRDE -i boxedsdf-merge.inc \ $(HELP2MAN) -S LRDE -i boxedsdf-merge.inc \
--no-info ./boxedsdf-merge -o $@ --no-info ./boxedsdf-merge -o $@
......
...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt
-include boxedsdf-update.c.dep -include boxedsdf-update.c.dep
bin_PROGRAMS = boxedsdf-update bin_PROGRAMS = boxedsdf-update
man_MANS = boxedsdf-update.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(top_builddir)/src/syn \ STRINCLUDES = -I $(top_builddir)/src/syn \
-I $(XTC)/share/xtc \ -I $(XTC)/share/xtc \
...@@ -13,6 +12,11 @@ CLEANFILES = boxedsdf-update.{c.dep,c} $(man_MANS) boxedsdf-update.inc ...@@ -13,6 +12,11 @@ CLEANFILES = boxedsdf-update.{c.dep,c} $(man_MANS) boxedsdf-update.inc
nodist_boxedsdf_update_SOURCES = boxedsdf-update.c nodist_boxedsdf_update_SOURCES = boxedsdf-update.c
EXTRA_DIST = boxedsdf-update.str EXTRA_DIST = boxedsdf-update.str
if HAVE_HELP2MAN
man_MANS = boxedsdf-update.1
EXTRA_DIST += boxedsdf-update.1
endif
boxedsdf-update.1: boxedsdf-update boxedsdf-update.inc boxedsdf-update.1: boxedsdf-update boxedsdf-update.inc
$(HELP2MAN) -S LRDE -i boxedsdf-update.inc \ $(HELP2MAN) -S LRDE -i boxedsdf-update.inc \
--no-info ./boxedsdf-update -o $@ --no-info ./boxedsdf-update -o $@
......
...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt
-include parse-boxedsdf-module.c.dep parse-boxedsdf-definition.c.dep -include parse-boxedsdf-module.c.dep parse-boxedsdf-definition.c.dep
bin_PROGRAMS = parse-boxedsdf-module parse-boxedsdf-definition bin_PROGRAMS = parse-boxedsdf-module parse-boxedsdf-definition
man_MANS = parse-boxedsdf-module.1 parse-boxedsdf-definition.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(XTC)/share/xtc \ STRINCLUDES = -I $(XTC)/share/xtc \
-I $(top_builddir)/config -I $(top_builddir)/config
...@@ -13,11 +12,16 @@ CLEANFILES = parse-boxedsdf-module.{c.dep,c} \ ...@@ -13,11 +12,16 @@ CLEANFILES = parse-boxedsdf-module.{c.dep,c} \
$(man_MANS) \ $(man_MANS) \
parse-boxedsdf-module.inc \ parse-boxedsdf-module.inc \
parse-boxedsdf-definition.inc parse-boxedsdf-definition.inc
nodist_parse_boxedsdf_module_SOURCES = parse-boxedsdf-module.c nodist_parse_boxedsdf_module_SOURCES = parse-boxedsdf-module.c
nodist_parse_boxedsdf_definition_SOURCES = parse-boxedsdf-definition.c nodist_parse_boxedsdf_definition_SOURCES = parse-boxedsdf-definition.c
EXTRA_DIST = parse-boxedsdf-module.str parse-boxedsdf-definition.str EXTRA_DIST = parse-boxedsdf-module.str parse-boxedsdf-definition.str
if HAVE_HELP2MAN
man_MANS = parse-boxedsdf-module.1 parse-boxedsdf-definition.1
EXTRA_DIST += parse-boxedsdf-module.1 parse-boxedsdf-definition.1
endif
parse-boxedsdf-definition.1: parse-boxedsdf-definition \ parse-boxedsdf-definition.1: parse-boxedsdf-definition \
parse-boxedsdf-definition.inc parse-boxedsdf-definition.inc
$(HELP2MAN) -S LRDE -i parse-boxedsdf-definition.inc \ $(HELP2MAN) -S LRDE -i parse-boxedsdf-definition.inc \
......
...@@ -6,7 +6,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -6,7 +6,6 @@ include $(top_srcdir)/config/Makefile.xt
pkgdata_DATA = BoxedSdf2-pretty.pp.af pkgdata_DATA = BoxedSdf2-pretty.pp.af
sdfdata_DATA = BoxedSdf2-pretty.pp sdfdata_DATA = BoxedSdf2-pretty.pp
bin_PROGRAMS = pp-boxedsdf bin_PROGRAMS = pp-boxedsdf
man_MANS = pp-boxedsdf.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(XTC)/share/xtc \ STRINCLUDES = -I $(XTC)/share/xtc \
-I $(top_builddir)/config -I $(top_builddir)/config
...@@ -15,6 +14,11 @@ CLEANFILES = pp-boxedsdf.{c.dep,c} $(pkgdata_DATA) \ ...@@ -15,6 +14,11 @@ CLEANFILES = pp-boxedsdf.{c.dep,c} $(pkgdata_DATA) \
nodist_pp_boxedsdf_SOURCES = pp-boxedsdf.c nodist_pp_boxedsdf_SOURCES = pp-boxedsdf.c
EXTRA_DIST = BoxedSdf2-pretty.pp pp-boxedsdf.str EXTRA_DIST = BoxedSdf2-pretty.pp pp-boxedsdf.str
if HAVE_HELP2MAN
man_MANS = pp-boxedsdf.1
EXTRA_DIST += pp-boxedsdf.1
endif
pp-boxedsdf.1: pp-boxedsdf pp-boxedsdf.inc pp-boxedsdf.1: pp-boxedsdf pp-boxedsdf.inc
$(HELP2MAN) -S LRDE -i pp-boxedsdf.inc --no-info ./pp-boxedsdf -o $@ $(HELP2MAN) -S LRDE -i pp-boxedsdf.inc --no-info ./pp-boxedsdf -o $@
......
AC_PREREQ(2.57) AC_PREREQ(2.57)
AC_INIT([transformers], 0.1, [transformers-bugs@lrde.epita.fr]) AC_INIT([transformers], 0.2a, [transformers-bugs@lrde.epita.fr])
AC_CONFIG_AUX_DIR([config]) AC_CONFIG_AUX_DIR([config])
AC_CONFIG_FILES([ AC_CONFIG_FILES([
...@@ -8,7 +8,7 @@ AC_CONFIG_FILES([ ...@@ -8,7 +8,7 @@ AC_CONFIG_FILES([
config/Makefile config/Makefile
]) ])
AM_INIT_AUTOMAKE([1.7.7 dist-bzip2]) AM_INIT_AUTOMAKE([1.8.3 dist-bzip2])
AB_INIT_AUTOBUNDLE AB_INIT_AUTOBUNDLE
......
...@@ -26,7 +26,7 @@ AC_DEFUN([AC_CHECK_XFILE], ...@@ -26,7 +26,7 @@ AC_DEFUN([AC_CHECK_XFILE],
AC_PREREQ(2.57) AC_PREREQ(2.57)
AC_INIT([cxx-basic], 0.1, [transformers-bugs@lrde.epita.fr]) AC_INIT([cxx-basic], 0.2a, [transformers-bugs@lrde.epita.fr])
# Auxiliary files # Auxiliary files
AC_CONFIG_AUX_DIR([config]) AC_CONFIG_AUX_DIR([config])
......
...@@ -116,7 +116,8 @@ AC_SUBST([STLPORTDIR]) ...@@ -116,7 +116,8 @@ AC_SUBST([STLPORTDIR])
AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE]) AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE])
if test x"$HELP2MAN" = xNONE; then if test x"$HELP2MAN" = xNONE; then
AC_MSG_WARN([cannot find help2man. Check your path.]) AC_MSG_WARN([cannot find help2man. This isn't mandatory. You will
only not be able to generate manpages.])
fi fi
AM_CONDITIONAL([HAVE_HELP2MAN], [test x"$HELP2MAN" != xNONE]) AM_CONDITIONAL([HAVE_HELP2MAN], [test x"$HELP2MAN" != xNONE])
AC_SUBST([HELP2MAN]) AC_SUBST([HELP2MAN])
......
...@@ -37,10 +37,13 @@ test -f $STRC/bin/strc || ...@@ -37,10 +37,13 @@ test -f $STRC/bin/strc ||
AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE]) AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE])
if test x"$HELP2MAN" = xNONE; then if test x"$HELP2MAN" = xNONE; then
AC_MSG_ERROR([cannot find help2man. Check your path.]) AC_MSG_WARN([cannot find help2man. This isn't mandatory. You will
only not be able to generate manpages.])
fi fi
AM_CONDITIONAL([HAVE_HELP2MAN], [test x"$HELP2MAN" != xNONE])
AC_SUBST([HELP2MAN]) AC_SUBST([HELP2MAN])
AC_PROG_CC AC_PROG_CC
AC_PROG_INSTALL AC_PROG_INSTALL
......
...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt
-include pack-esdf.c.dep -include pack-esdf.c.dep
bin_PROGRAMS = pack-esdf bin_PROGRAMS = pack-esdf
man_MANS = pack-esdf.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = \ STRINCLUDES = \
-I $(SDF_FRONT)/share/sdf-front \ -I $(SDF_FRONT)/share/sdf-front \
...@@ -15,6 +14,11 @@ CLEANFILES = pack-esdf.c{,.dep} $(man_MANS) pack-esdf.inc ...@@ -15,6 +14,11 @@ CLEANFILES = pack-esdf.c{,.dep} $(man_MANS) pack-esdf.inc
nodist_pack_esdf_SOURCES = pack-esdf.c nodist_pack_esdf_SOURCES = pack-esdf.c
EXTRA_DIST = pack-esdf.str EXTRA_DIST = pack-esdf.str
if HAVE_HELP2MAN
man_MANS = pack-esdf.1
EXTRA_DIST += pack-esdf.1
endif
pack-esdf.1: pack-esdf pack-esdf.inc pack-esdf.1: pack-esdf pack-esdf.inc
$(HELP2MAN) -S LRDE -i pack-esdf.inc \ $(HELP2MAN) -S LRDE -i pack-esdf.inc \
--no-info ./pack-esdf -o $@ --no-info ./pack-esdf -o $@
......
...@@ -4,13 +4,17 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -4,13 +4,17 @@ include $(top_srcdir)/config/Makefile.xt
-include sdf-purify.c.dep -include sdf-purify.c.dep
bin_PROGRAMS = sdf-purify bin_PROGRAMS = sdf-purify
man_MANS = sdf-purify.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(top_builddir)/config STRINCLUDES = -I $(top_builddir)/config
nodist_sdf_purify_SOURCES = sdf-purify.c nodist_sdf_purify_SOURCES = sdf-purify.c
CLEANFILES = sdf-purify.c{,.dep} $(man_MANS) sdf-purify.inc CLEANFILES = sdf-purify.c{,.dep} $(man_MANS) sdf-purify.inc
EXTRA_DIST = sdf-purify.str EXTRA_DIST = sdf-purify.str
if HAVE_HELP2MAN
man_MANS = sdf-purify.1
EXTRA_DIST += sdf-purify.1
endif
sdf-purify.1: sdf-purify sdf-purify.inc sdf-purify.1: sdf-purify sdf-purify.inc
$(HELP2MAN) -S LRDE -i sdf-purify.inc --no-info ./sdf-purify -o $@ $(HELP2MAN) -S LRDE -i sdf-purify.inc --no-info ./sdf-purify -o $@
......
...@@ -50,8 +50,10 @@ DEF_BUNDLED_PKG([LRDE_SDF]) ...@@ -50,8 +50,10 @@ DEF_BUNDLED_PKG([LRDE_SDF])
AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE]) AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE])
if test x"$HELP2MAN" = xNONE; then if test x"$HELP2MAN" = xNONE; then
AC_MSG_ERROR([cannot find help2man. Check your path.]) AC_MSG_WARN([cannot find help2man. This isn't mandatory. You will
only not be able to generate manpages.])
fi fi
AM_CONDITIONAL([HAVE_HELP2MAN], [test x"$HELP2MAN" != xNONE])
AC_SUBST([HELP2MAN]) AC_SUBST([HELP2MAN])
# Look for common programs # Look for common programs
......
...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -4,7 +4,6 @@ include $(top_srcdir)/config/Makefile.xt
-include parse-astsdf-module.c.dep parse-astsdf-definition.c.dep -include parse-astsdf-module.c.dep parse-astsdf-definition.c.dep
bin_PROGRAMS = parse-astsdf-module parse-astsdf-definition bin_PROGRAMS = parse-astsdf-module parse-astsdf-definition
man_MANS = parse-astsdf-module.1 parse-astsdf-definition.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(XTC)/share/xtc \ STRINCLUDES = -I $(XTC)/share/xtc \
-I $(top_builddir)/config -I $(top_builddir)/config
...@@ -13,11 +12,16 @@ CLEANFILES = parse-astsdf-module.{c.dep,c} \ ...@@ -13,11 +12,16 @@ CLEANFILES = parse-astsdf-module.{c.dep,c} \
$(man_MANS) \ $(man_MANS) \
parse-astsdf-module.inc \ parse-astsdf-module.inc \
parse-astsdf-definition.inc parse-astsdf-definition.inc
nodist_parse_astsdf_module_SOURCES = parse-astsdf-module.c nodist_parse_astsdf_module_SOURCES = parse-astsdf-module.c
nodist_parse_astsdf_definition_SOURCES = parse-astsdf-definition.c nodist_parse_astsdf_definition_SOURCES = parse-astsdf-definition.c
EXTRA_DIST = parse-astsdf-module.str parse-astsdf-definition.str EXTRA_DIST = parse-astsdf-module.str parse-astsdf-definition.str
if HAVE_HELP2MAN
man_MANS = parse-astsdf-module.1 parse-astsdf-definition.1
EXTRA_DIST += parse-astsdf-module.1 parse-astsdf-definition.1
endif
parse-astsdf-definition.1: parse-astsdf-definition \ parse-astsdf-definition.1: parse-astsdf-definition \
parse-astsdf-definition.inc parse-astsdf-definition.inc
$(HELP2MAN) -S LRDE -i parse-astsdf-definition.inc \ $(HELP2MAN) -S LRDE -i parse-astsdf-definition.inc \
......
...@@ -6,7 +6,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -6,7 +6,6 @@ include $(top_srcdir)/config/Makefile.xt
pkgdata_DATA = AstSdf2-pretty.pp.af pkgdata_DATA = AstSdf2-pretty.pp.af
sdfdata_DATA = AstSdf2-pretty.pp sdfdata_DATA = AstSdf2-pretty.pp
bin_PROGRAMS = pp-astsdf bin_PROGRAMS = pp-astsdf
man_MANS = pp-astsdf.1
SCFLAGS = --main $* --verbose 0 SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(XTC)/share/xtc \ STRINCLUDES = -I $(XTC)/share/xtc \
-I $(top_builddir)/config -I $(top_builddir)/config
...@@ -15,6 +14,11 @@ CLEANFILES = pp-astsdf.{c.dep,c} $(pkgdata_DATA) \ ...@@ -15,6 +14,11 @@ CLEANFILES = pp-astsdf.{c.dep,c} $(pkgdata_DATA) \
nodist_pp_astsdf_SOURCES = pp-astsdf.c nodist_pp_astsdf_SOURCES = pp-astsdf.c
EXTRA_DIST = AstSdf2-pretty.pp pp-astsdf.str EXTRA_DIST = AstSdf2-pretty.pp pp-astsdf.str
if HAVE_HELP2MAN
man_MANS = pp-astsdf.1
EXTRA_DIST += pp-astsdf.1
endif
pp-astsdf.1: pp-astsdf pp-astsdf.inc pp-astsdf.1: pp-astsdf pp-astsdf.inc
$(HELP2MAN) -S LRDE -i pp-astsdf.inc --no-info ./pp-astsdf -o $@ $(HELP2MAN) -S LRDE -i pp-astsdf.inc --no-info ./pp-astsdf -o $@
......
...@@ -17,9 +17,16 @@ SRCS = sdf-astgen.str ...@@ -17,9 +17,16 @@ SRCS = sdf-astgen.str
META = sdf-astgen.meta META = sdf-astgen.meta
bin_PROGRAMS = sdf-astgen bin_PROGRAMS = sdf-astgen
man_MANS = sdf-astgen.1
nodist_sdf_astgen_SOURCES = sdf-astgen.c nodist_sdf_astgen_SOURCES = sdf-astgen.c
EXTRA_DIST = $(SRCS) $(META)
CLEANFILES = $(man_MANS) sdf-astgen.{c,c.dep,inc}
if HAVE_HELP2MAN
man_MANS = sdf-astgen.1
EXTRA_DIST += sdf-astgen.1
endif
sdf-astgen.1: sdf-astgen sdf-astgen.inc sdf-astgen.1: sdf-astgen sdf-astgen.inc
$(HELP2MAN) -S LRDE -i sdf-astgen.inc \ $(HELP2MAN) -S LRDE -i sdf-astgen.inc \
--no-info ./sdf-astgen -o $@ --no-info ./sdf-astgen -o $@
...@@ -28,5 +35,3 @@ sdf-astgen.inc: $(top_srcdir)/src/mancmds ...@@ -28,5 +35,3 @@ sdf-astgen.inc: $(top_srcdir)/src/mancmds
sed -e "/^sdf-astgen$$/d" $< | \ sed -e "/^sdf-astgen$$/d" $< | \
sed -f $(top_srcdir)/config/seealso.sed >$@ sed -f $(top_srcdir)/config/seealso.sed >$@
EXTRA_DIST = $(SRCS) $(META)
CLEANFILES = $(man_MANS) sdf-astgen.{c,c.dep,inc}
...@@ -64,8 +64,10 @@ IF_IN_BUNDLE([esdf]) || test -f $ESDF/bin/pack-esdf || ...@@ -64,8 +64,10 @@ IF_IN_BUNDLE([esdf]) || test -f $ESDF/bin/pack-esdf ||
AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE]) AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE])
if test x"$HELP2MAN" = xNONE; then if test x"$HELP2MAN" = xNONE; then
AC_MSG_ERROR([cannot find help2man. Check your path.]) AC_MSG_WARN([cannot find help2man. This isn't mandatory. You will
only not be able to generate manpages.])
fi fi
AM_CONDITIONAL([HAVE_HELP2MAN], [test x"$HELP2MAN" != xNONE])
AC_SUBST([HELP2MAN]) AC_SUBST([HELP2MAN])
AC_PROG_CC AC_PROG_CC
......
...@@ -7,12 +7,6 @@ include $(top_srcdir)/config/Makefile.xt ...@@ -7,12 +7,6 @@ include $(top_srcdir)/config/Makefile.xt
-include pp-detboxedsdf.c.dep -include pp-detboxedsdf.c.dep
-include gen-filters.c.dep -include gen-filters.c.dep
man_MANS = det-gen.1 \
parse-detboxedsdf-module.1 \
parse-detboxedsdf-definition.1 \
pp-detboxedsdf.1 \
gen-filters.1
bin_PROGRAMS = det-gen \ bin_PROGRAMS = det-gen \
parse-detboxedsdf-module \ parse-detboxedsdf-module \
parse-detboxedsdf-definition \ parse-detboxedsdf-definition \
...@@ -45,6 +39,19 @@ EXTRA_DIST = det-gen.str \ ...@@ -45,6 +39,19 @@ EXTRA_DIST = det-gen.str \
pp-detboxedsdf.str \ pp-detboxedsdf.str \
gen-filters.str gen-filters.str
if HAVE_HELP2MAN
man_MANS = det-gen.1 \
parse-detboxedsdf-module.1 \
parse-detboxedsdf-definition.1 \
pp-detboxedsdf.1 \
gen-filters.1
EXTRA_DIST += det-gen.1 \
parse-detboxedsdf-module.1 \
parse-detboxedsdf-definition.1 \
pp-detboxedsdf.1 \
gen-filters.1
endif
det-gen.1: det-gen det-gen.inc det-gen.1: det-gen det-gen.inc
$(HELP2MAN) -S LRDE -i det-gen.inc --no-info ./det-gen -o $@ $(HELP2MAN) -S LRDE -i det-gen.inc --no-info ./det-gen -o $@
parse-detboxedsdf-module.1: parse-detboxedsdf-module \ parse-detboxedsdf-module.1: parse-detboxedsdf-module \
......
...@@ -32,12 +32,16 @@ USE_XT_PACKAGES ...@@ -32,12 +32,16 @@ USE_XT_PACKAGES
test -f $STRC/bin/strc || test -f $STRC/bin/strc ||
AC_MSG_ERROR([cannot find strc. Use --with-strategoxt.]) AC_MSG_ERROR([cannot find strc. Use --with-strategoxt.])
AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE]) AC_CHECK_PROGS([HELP2MAN], [help2man], [NONE])
if test x"$HELP2MAN" = xNONE; then if test x"$HELP2MAN" = xNONE; then
AC_MSG_ERROR([cannot find help2man. Check your path.]) AC_MSG_WARN([cannot find help2man. This isn't mandatory. You will
only not be able to generate manpages.])
fi fi
AM_CONDITIONAL([HAVE_HELP2MAN], [test x"$HELP2MAN" != xNONE])
AC_SUBST([HELP2MAN]) AC_SUBST([HELP2MAN])
AC_PROG_CC AC_PROG_CC
AC_PROG_INSTALL AC_PROG_INSTALL
......
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