Simplification.
This commit is contained in:
parent
fadb722c59
commit
2f9d798574
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue