Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkenorb <kenorb@users.noreply.github.com>2019-02-02 21:22:12 +0300
committerkenorb <kenorb@users.noreply.github.com>2019-02-02 21:22:12 +0300
commit077bd3a00ff027457e4ebe05476645b4593294fe (patch)
treeb6b484bf8a0591a1c70a957c7d754a4a2326f35c /Makefile.in
parent06eb1db254cc2bb696f1a984840b712a9d9d7e6e (diff)
parentac2cdc9d93408ec612161dbc81d27d7319a0cab2 (diff)
Merge branch 'dev-1.3.0' of https://github.com/r3t/tgl
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 6653fe7..255efe3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -97,6 +97,10 @@ distclean:
rm -rf ${DIR_LIST} config.h config.log config.status
mime-types.c: mime.types
- @echo "// DO NOT EDIT! SEE MAKE-TARGET 'gen-mime-types'" > mime-types.c
-# xxd is usually packaged with vim-common
- xxd -i mime.types >> mime-types.c
+ @echo xxd -i mime.types > mime-types.c
+ @if command -v xxd >/dev/null 2>&1 ; then \
+ xxd -i mime.types > mime-types.c ; \
+ else \
+ echo "# No xxd installed! Trying to skip ..." ; \
+ test -r $@ ; \
+ fi