libgrapheme

unicode string library
git clone git://git.suckless.org/libgrapheme
Log | Files | Refs | README | LICENSE

commit 55597f406bb21be8264ac88a7dec4e96994a5507
parent 767e6c55ba45e06685521bdfdf61f14a782d5f2b
Author: Laslo Hunhold <dev@frign.de>
Date:   Sat, 25 Dec 2021 22:35:47 +0100

Quote constructed string in make dist

You never know what people might do with the VERSION-variable, which
after all is written in config.mk

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
MMakefile | 22+++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile @@ -126,16 +126,16 @@ print: @echo $(PREFIX) dist: - mkdir libgrapheme-$(VERSION) - for m in benchmark data gen man src test; do mkdir libgrapheme-$(VERSION)/$$m; done - cp config.mk grapheme.h LICENSE Makefile README libgrapheme-$(VERSION) - cp $(BENCHMARK:=.c) benchmark/util.c benchmark/util.h libgrapheme-$(VERSION)/benchmark - cp $(DATA) libgrapheme-$(VERSION)/data - cp $(GEN:=.c) gen/util.c gen/types.h gen/util.h libgrapheme-$(VERSION)/gen - cp $(MAN3) $(MAN7) libgrapheme-$(VERSION)/man - cp $(SRC:=.c) src/util.h libgrapheme-$(VERSION)/src - cp $(TEST:=.c) test/util.c test/util.h libgrapheme-$(VERSION)/test - tar -cf - libgrapheme-$(VERSION) | gzip -c > libgrapheme-$(VERSION).tar.gz - rm -rf libgrapheme-$(VERSION) + mkdir "libgrapheme-$(VERSION)" + for m in benchmark data gen man src test; do mkdir "libgrapheme-$(VERSION)/$$m"; done + cp config.mk grapheme.h LICENSE Makefile README "libgrapheme-$(VERSION)" + cp $(BENCHMARK:=.c) benchmark/util.c benchmark/util.h "libgrapheme-$(VERSION)/benchmark" + cp $(DATA) "libgrapheme-$(VERSION)/data" + cp $(GEN:=.c) gen/util.c gen/types.h gen/util.h "libgrapheme-$(VERSION)/gen" + cp $(MAN3) $(MAN7) "libgrapheme-$(VERSION)/man" + cp $(SRC:=.c) src/util.h "libgrapheme-$(VERSION)/src" + cp $(TEST:=.c) test/util.c test/util.h "libgrapheme-$(VERSION)/test" + tar -cf - "libgrapheme-$(VERSION)" | gzip -c > "libgrapheme-$(VERSION).tar.gz" + rm -rf "libgrapheme-$(VERSION)" .PHONY: all test install uninstall clean clean-data dist