Commit bc598002 authored by david_v's avatar david_v
Browse files

from Valentin David <valentin@lrde.epita.fr>

	* configure.ac: Check for help2man. Generate version.str.

	* config/version.str.in, config/seealso.sed, src/mancmds: New.
	* config/Makefile.am, src/Makefile.am: Update.

	* src/pp/pp-boxedsdf.str, src/boxed2sdf/boxed2sdf.str,
	* src/boxed2pp-table/boxed2pp-table.str,
	* src/pack-boxedsdf/pack-boxedsdf.str,
	* src/boxedsdf-merge/boxedsdf-merge.str,
	* src/parser/parse-boxedsdf-module.str,
	* src/parser/parse-boxedsdf-definition.str,
	* src/boxedsdf-update/boxedsdf-update.str:
	Add help.

	* src/pp/Makefile.am, src/boxed2sdf/Makefile.am,
	* src/boxed2pp-table/Makefile.am, src/pack-boxedsdf/Makefile.am,
	* src/boxedsdf-merge/Makefile.am, src/parser/Makefile.am,
	* src/boxedsdf-update/Makefile.am:
	Generate man pages.
parent 59e79e43
......@@ -4,8 +4,17 @@ include $(top_srcdir)/config/Makefile.xt
pkgdata_DATA = BoxedSdf2-pretty.pp.af
sdfdata_DATA = BoxedSdf2-pretty.pp
bin_PROGRAMS = pp-boxedsdf
man_MANS = pp-boxedsdf.1
SCFLAGS = --main $* --verbose 0
STRINCLUDES = -I $(XTC)/share/xtc
CLEANFILES = pp-boxedsdf.{c.dep,c} $(pkgdata_DATA)
STRINCLUDES = -I $(XTC)/share/xtc \
-I $(top_builddir)/config
CLEANFILES = pp-boxedsdf.{c.dep,c} $(pkgdata_DATA) \
$(man_MANS) pp-boxedsdf.inc
nodist_pp_boxedsdf_SOURCES = pp-boxedsdf.c
EXTRA_DIST = BoxedSdf2-pretty.pp pp-boxedsdf.str
pp-boxedsdf.1: pp-boxedsdf pp-boxedsdf.inc
$(HELP2MAN) -S LRDE -i pp-boxedsdf.inc --no-info ./pp-boxedsdf -o $@
pp-boxedsdf.inc: $(top_srcdir)/src/mancmds
sed -e "/^boxed2sdf$$/d" $< | sed -f $(top_srcdir)/config/seealso.sed >$@
/**
* BoxedSdf
* Copyright (C) 2003 LRDE
* Copyright (C) 2003, 2004 LRDE
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -22,10 +22,14 @@
* Valentin David <valentin@lrde.epita.fr>
*/
module pp-boxedsdf
imports xtc-lib stratego-xt-xtc-tools
imports xtc-lib stratego-xt-xtc-tools version
strategies
short-description(p) = !["pp-boxedsdf pretty-prints boxedsdf ",
"AST.\n\n",
"Usage: ", <p>(), " [options]"]
/**
* XTC pretty print strategt
*/
......
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