From 2f9d798574dab04efce1d178c641922a92b8736c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 4 Jun 2017 18:54:33 -0400 Subject: [PATCH] Simplification. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3b9509d..2cc167f 100644 --- a/Makefile +++ b/Makefile @@ -65,8 +65,8 @@ DOCS=COPYING NEWS README.adoc TODO \ advent.adoc history.adoc index.adoc hints.adoc advent.6 # Can't use GNU tar's --transform, needs to build under Alpine Linux -advent-$(VERS).tar.gz: $(SOURCES) $(DOCS) advent.6 - @ls $(SOURCES) $(DOCS) advent.6 | sed s:^:advent-$(VERS)/: >MANIFEST +advent-$(VERS).tar.gz: $(SOURCES) $(DOCS) + @ls $(SOURCES) $(DOCS) | sed s:^:advent-$(VERS)/: >MANIFEST @(cd ..; ln -s advent advent-$(VERS)) (cd ..; tar -czvf advent/advent-$(VERS).tar.gz `cat advent/MANIFEST`) @(cd ..; rm advent-$(VERS)) -- 2.31.1