diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-11 21:41:41 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-11 21:42:49 +0200 |
commit | afc577bb1246cb113b537454b23d38d929f8a157 (patch) | |
tree | c7faa74951cd9b7b8065fb13cc9af427b23e99d7 /Makefile | |
parent | 7e957a08fb09062db85f66b93fd858b8dfcd21b1 (diff) |
Makefile, examples/: Remove files with '\' in the filename
Those are nice examples, but are a nightmare as filenames.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -7,7 +7,6 @@ MAKEFLAGS += --warn-undefined-variables package := grepc DISTVERSION := $(shell git describe --always 2>/dev/null) DISTNAME := $(package)-$(DISTVERSION) -DIST_FILES := $(shell git ls-files -z 2>/dev/null | xargs -0 find) srcdir := . @@ -113,9 +112,9 @@ $(_prog): $(_exec_prefix)/%: $(srcdir)/% Makefile | $$(@D) $(_data): $(_prefix)/%: $(srcdir)/% Makefile | $$(@D) $(info INSTALL $@) - $(INSTALL_DATA) -T '$<' '$@' + $(INSTALL_DATA) -T $< $@ -$(DISTFILE): $(DIST_FILES) Makefile | $$(@D) +$(DISTFILE): $(shell git ls-files 2>/dev/null) Makefile | $$(@D) $(info TAR $@) tar cf $@ -T /dev/null git ls-files \ |