No need for empty .dict when creating empty .dict.gz

This commit is contained in:
Andy2 2011-01-06 18:20:56 -08:00
parent 6f2cde1304
commit 5459631c76

View file

@ -1,4 +1,4 @@
# -*-mode: Makefile; compile-command: "make -f Makefile.BasEnglish"; -*-
# -*-mode: Makefile; -*-
# Copyright 2002-2010 by Eric House (xwords@eehouse.org). All rights
# reserved.
#
@ -27,11 +27,8 @@ TARGET_TYPE ?= WINCE
include ../Makefile.langcommon
# Empty dict
$(XWLANG)Main.dict:
> $@
$(XWLANG)Main.dict.gz: $(XWLANG)Main.dict
gzip -c $< > $@
$(XWLANG)Main.dict.gz:
echo -n "" | gzip -c > $@
# Everything but creating of the Main.dict file is inherited from the
# "parent" Makefile.langcommon in the parent directory.