From beb762735dec5e078b9015d81c7833e8db4b9daa Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 4 Jun 2017 10:33:20 +0200 Subject: [PATCH] Fix Makefile dist target. --- .gitignore | 1 + Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e053fe6..2ea48c5 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ compile database.h database.c advent.6 +*.tar.gz diff --git a/Makefile b/Makefile index ba2c9ef..39714a0 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ ifeq ($(UNAME_S),Linux) endif OBJS=main.o init.o actions1.o actions2.o score.o misc.o database.o -DOCS=COPYING NEWS README TODO advent.adoc history.adoc index.adoc hints.adoc -SOURCES=$(OBJS:.o=.c) advent.h funcs.h adventure.text $(DOCS) control +DOCS=COPYING NEWS README.adoc TODO advent.adoc history.adoc index.adoc hints.adoc +SOURCES=$(OBJS:.o=.c) compile.c advent.h database.h funcs.h adventure.text $(DOCS) Makefile control .c.o: $(CC) $(CCFLAGS) $(DBX) -c $< @@ -58,7 +58,7 @@ check: advent .adoc.html: advent.adoc asciidoc $< -advent-$(VERS).tar.gz: $(SOURCES) advent.6 +advent-$(VERS).tar.gz: $(SOURCES) .adoc.6 tar --transform='s:^:advent-$(VERS)/:' --show-transformed-names -cvzf advent-$(VERS).tar.gz $(SOURCES) advent.6 dist: advent-$(VERS).tar.gz -- 2.31.1