]> granicus.if.org Git - flex/commitdiff
remove maintainer_mode conditional; add filter.c and regex.c to indentfiles; reformat...
authorWill Estes <wlestes@users.sourceforge.net>
Wed, 26 Mar 2003 19:05:14 +0000 (19:05 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Wed, 26 Mar 2003 19:05:14 +0000 (19:05 +0000)
Makefile.am

index c85f3654bece4beae6f1cbc20a48e5f04e52d4b5..ed120d323c5c2629391e7da07beefa11550dadf1 100644 (file)
@@ -137,6 +137,7 @@ SUBDIRS = \
        m4  \
        examples \
        po \
+       tools \
        tests
 
 localedir = $(datadir)/locale
@@ -179,9 +180,8 @@ tags:
 # Create the ChangeLog
 
 ChangeLog:
-       sh tools/cvs2cl.pl -F trunk -U tools/cvsauthors
+       sh $(srcdir)/tools/cvs2cl.pl -F trunk -U $(srcdir)/tools/cvsauthors
 
-if MAINTAINER_MODE
 # Run GNU indent on sources. Don't run this unless all the sources compile cleanly.
 #
 # Whole idea:
@@ -191,10 +191,30 @@ if MAINTAINER_MODE
 #   3. Make sure to process only the NON-generated .c and .h files.
 #   4. Run indent twice per file. The first time is a test.
 #      Otherwise, indent overwrites your file even if it fails!
-indentfiles = buf.c ccl.c dfa.c ecs.c flexdef.h gen.c libmain.c \
-              libyywrap.c main.c misc.c nfa.c options.c options.h \
-              scanopt.c scanopt.h sym.c tables.c tables.h \
-              tables_shared.c tables_shared.h tblcmp.c
+indentfiles = \
+       buf.c \
+       ccl.c \
+       dfa.c \
+       ecs.c \
+       filter.c \
+       flexdef.h \
+       gen.c \
+       libmain.c \
+       libyywrap.c \
+       main.c \
+       misc.c \
+       nfa.c \
+       options.c \
+       options.h \
+       regex.c \
+       scanopt.c \
+       scanopt.h \
+       sym.c \
+       tables.c \
+       tables.h \
+       tables_shared.c \
+       tables_shared.h \
+       tblcmp.c
 
 indent:
        if [ -f .indent.pro ] ; then \
@@ -204,6 +224,5 @@ indent:
                $(indent) < $$f >/dev/null && indent $$f || echo $$f FAILED to indent ;\
        done \
        fi
-endif MAINTAINER_MODE
 
 .PHONY: ChangeLog tags indent