diff options
Diffstat (limited to 'Build/source/utils/chktex/Makefile.am')
-rw-r--r-- | Build/source/utils/chktex/Makefile.am | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Build/source/utils/chktex/Makefile.am b/Build/source/utils/chktex/Makefile.am new file mode 100644 index 00000000000..6a5727d8f3a --- /dev/null +++ b/Build/source/utils/chktex/Makefile.am @@ -0,0 +1,50 @@ +## Makefile.am for the TeX Live subdirectory utils/chktex/ +## +## Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org> +## You may freely use, modify and/or distribute this file. +## +#************************************************************************ +# +# Adapted for TeX Live from chktex/Makefile.1n +# +#************************************************************************ +## +ACLOCAL_AMFLAGS = -I ../../m4 + +## We want to re-distribute the whole original chktex source tree. +## +## With current automake (1.10.2) 'make distcheck' fails when +## DISTFILES contains a directory and files in that directory. +## Thus nodist_* for all files in $(CHKTEX_TREE). +EXTRA_DIST = $(CHKTEX_TREE) + +## Patches applied to the original source tree +## +EXTRA_DIST += $(CHKTEX_TREE)-PATCHES + +# in case of an SVN repository +dist-hook: + rm -rf `find $(distdir) -name .svn` + +AM_CFLAGS = $(WARNING_CFLAGS) + +bin_PROGRAMS = chktex + +chktex_SOURCES = \ + $(CHKTEX_TREE)/ChkTeX.c \ + $(CHKTEX_TREE)/ChkTeX.h \ + $(CHKTEX_TREE)/FindErrs.c \ + $(CHKTEX_TREE)/FindErrs.h \ + $(CHKTEX_TREE)/OpSys.c \ + $(CHKTEX_TREE)/OpSys.h \ + $(CHKTEX_TREE)/Resource.c \ + $(CHKTEX_TREE)/Resource.h \ + $(CHKTEX_TREE)/Utility.c \ + $(CHKTEX_TREE)/Utility.h \ + $(CHKTEX_TREE)/types.h + +dist_man_MANS = \ + $(CHKTEX_TREE)/chktex.1 \ + $(CHKTEX_TREE)/chkweb.1 \ + $(CHKTEX_TREE)/deweb.1 + |