Fix Makefile dist target.
This commit is contained in:
parent
5145170a76
commit
beb762735d
2 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@ compile
|
|||
database.h
|
||||
database.c
|
||||
advent.6
|
||||
*.tar.gz
|
||||
|
|
6
Makefile
6
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue