summaryrefslogtreecommitdiff
path: root/mail/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-06-13 14:44:58 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-06-13 15:03:55 +0300
commitfa5d4812fc4936dd470ded17116c9d966d0d645e (patch)
treef0efda476ed06795f3de233c440e4e8d87f2b60a /mail/Makefile.am
parent3a78309aa59c245c14e29d3e7eb953c6a2ea1035 (diff)
downloadmailutils-fa5d4812fc4936dd470ded17116c9d966d0d645e.tar.gz
mailutils-fa5d4812fc4936dd470ded17116c9d966d0d645e.tar.bz2
Rewrite Makefile rules for lex and bison
The aim is to get rid of the explicit rules and use the Autmake framework as much as possible, without hurting the flexibility. To this effect, the gylwrap tool is rewritten from scratch (in Perl). In compatibility mode it takes the same arguments as the standard ylwrap. Additional configuration is supplied in the configuration file gylwrap.conf, located in the directory where the input file resides. * mu-aux/gylwrap: Rewrite from scratch. * configure.ac (MU_YLWRAP): New subst variable. * libmailutils/base/.gitignore: Update. * libmailutils/base/Makefile.am: Update. * libmailutils/base/gylwrap.conf: New file. * libmailutils/cfg/.gitignore: Update. * libmailutils/cfg/Makefile.am: Use new YLWRAP * libmailutils/cfg/cfg.h: Remove. * libmailutils/cfg/gylwrap.conf: New file. * libmailutils/cfg/lexer.l: Include mailutils/yyloc.h directly. * libmailutils/cfg/parser.y: Likewise. * libmu_sieve/Makefile.am: Use new YLWRAP * libmu_sieve/gylwrap.conf: New file. * libmu_sieve/sieve.y: Rename to libmu_sieve/sieve-gram.y * libmu_sieve/sieve.l: Rename to libmu_sieve/sieve-lex.l * mail/Makefile.am: Use new YLWRAP * mh/.gitignore: Update. * mh/Makefile.am: Use new YLWRAP * mh/gylwrap.conf: New file. * mh/mh_alias.y: Rename to mh/mh_alias_gram.y * mh/mh_alias.l: Rename to mh/mh_alias_lex.l * mh/pick.y: Rename to mh/pick-gram.y * mimeview/.gitignore: Update. * mimeview/Makefile.am: Use new YLWRAP * mimeview/mimetypes.y: Rename to mimeview/grammar.y * mimeview/gylwrap.conf: New file. * mimeview/mimetypes.l: Rename to mimeview/lexer.l * po/POTFILES.in: Update
Diffstat (limited to 'mail/Makefile.am')
-rw-r--r--mail/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/Makefile.am b/mail/Makefile.am
index 7c2cebc3c..b2061516f 100644
--- a/mail/Makefile.am
+++ b/mail/Makefile.am
@@ -15,6 +15,7 @@
## You should have received a copy of the GNU General Public License
## along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>.
+YLWRAP = @MU_YLWRAP@
AM_YFLAGS=-vt
AM_CPPFLAGS = \
@MU_APP_COMMON_INCLUDES@ @MU_AUTHINCS@\

Return to:

Send suggestions and report system problems to the System administrator.