diff options
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -280,6 +280,8 @@ lex.yy.c: $(top_srcdir)parser.l fi) $(call SH,chmod a-w $@) +ifeq ($(maintainer),y) + y.tab.h: y.tab.c $(call SH, \ if ! [ -e y.tab.h ] ; then \ @@ -311,6 +313,8 @@ y.tab.c: $(top_srcdir)parser.y false ; \ fi) +endif + # Suppress useless sccs id array and unused label warning in byacc otuput. # Bison-generated parser also tests for this lint define. $(call EACH_CONF,y.tab.o): TXR_CFLAGS += -Dlint @@ -130,6 +130,7 @@ install_prefix= bindir='bin' datadir='share/txr' mandir='share/man' +maintainer= make= cross= compiler_prefix= @@ -779,6 +780,9 @@ SHELL := $txr_shell} txr_ver := $txr_ver +# is this configuration in maintainer mode +maintainer := $maintainer + # absolute path to source code directory top_srcdir := $top_srcdir |