diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-20 13:29:49 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-20 13:29:52 +0900 |
commit | 844262890797f165a0497afdcc1ad8f5caec971d (patch) | |
tree | 225cb3197568540b5a37cd4bdd008173a44df316 /Makefile | |
parent | 0077b68f7eb84ff84bc271256e4ac0e178e531f9 (diff) | |
download | dos2unix-844262890797f165a0497afdcc1ad8f5caec971d.tar.gz dos2unix-844262890797f165a0497afdcc1ad8f5caec971d.tar.bz2 dos2unix-844262890797f165a0497afdcc1ad8f5caec971d.zip |
Imported Upstream version 7.3.2upstream/7.3.2
Change-Id: I7711f5859ca401595fdfcabc046539e76566eb07
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -179,6 +179,10 @@ ifeq (msys,$(D2U_OS)) CC=gcc EXE = .exe VERSIONSUFFIX = -msys +# MSYS 1 does not support locales and no Unicode. +ifeq ($(shell ./test/chk_loc.sh en_US.utf8),no) +UCS = +endif ifdef ENABLE_NLS LIBS_EXTRA = -lintl -liconv endif @@ -446,8 +450,15 @@ man/uk/man1/$(PACKAGE).$(HTMLEXT) : man/uk/man1/$(PACKAGE).pod man/zh_CN/man1/$(PACKAGE).$(HTMLEXT) : man/zh_CN/man1/$(PACKAGE).pod PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - DOS/Mac - Unix文件格式转换器" $< > $@ +man/sv/man1/$(PACKAGE).$(HTMLEXT) : man/sv/man1/$(PACKAGE).pod + PERL_UNICODE=SDA pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - textfilsformatskonverterare från DOS/Mac till Unix och vice versa" $< > $@ + test: all - cd test; $(MAKE) test +ifneq ($(DJGPP),) + cd test; $(MAKE) test UCS= SHELL=$(shell which sh) +else + cd test; $(MAKE) test UCS=$(UCS) +endif check: test |