Home | History | Annotate | Line # | Download | only in autotest
      1 # Make Autotest library.
      2 
      3 # Copyright (C) 2001-2002, 2009-2012 Free Software Foundation, Inc.
      4 
      5 # This program is free software: you can redistribute it and/or modify
      6 # it under the terms of the GNU General Public License as published by
      7 # the Free Software Foundation, either version 3 of the License, or
      8 # (at your option) any later version.
      9 
     10 # This program is distributed in the hope that it will be useful,
     11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13 # GNU General Public License for more details.
     14 
     15 # You should have received a copy of the GNU General Public License
     16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
     17 
     18 autotestlibdir = $(pkgdatadir)/autotest
     19 dist_autotestlib_DATA = autotest.m4 general.m4 specific.m4
     20 nodist_autotestlib_DATA = autotest.m4f
     21 CLEANFILES = $(nodist_autotestlib_DATA)
     22 
     23 ## --------------- ##
     24 ## Building TAGS.  ##
     25 ## --------------- ##
     26 
     27 TAGS_FILES = $(dist_autotestlib_DATA)
     28 
     29 ETAGS_ARGS = $(ETAGS_FOR_AUTOCONF)
     30 
     31 
     32 ## -------- ##
     33 ## Checks.  ##
     34 ## -------- ##
     35 
     36 check-local: check-forbidden-patterns
     37 forbidden_patterns = -e '^_*EOF' -e ' cmp '
     38 forbidden_patterns_files = $(dist_autotestlib_DATA)
     39 
     40 
     41 ## ------------------ ##
     42 ## The frozen files.  ##
     43 ## ------------------ ##
     44 
     45 autotest.m4f: $(autotest_m4f_dependencies)
     46 include ../freeze.mk
     47