projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5145170
)
Fix Makefile dist target.
author
Rémi Verschelde
<rverschelde@gmail.com>
Sun, 4 Jun 2017 08:33:20 +0000
(10:33 +0200)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sun, 4 Jun 2017 09:50:39 +0000
(
05:50
-0400)
.gitignore
patch
|
blob
|
history
Makefile
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index e053fe65ffc24d9eb603107b25247f01727cc1fa..2ea48c52e3b98230c66a7d0e05ed311525ed8fec 100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-7,3
+7,4
@@
compile
database.h
database.c
advent.6
database.h
database.c
advent.6
+*.tar.gz
diff --git
a/Makefile
b/Makefile
index ba2c9ef318469c61fd5af169e75ce46c0443dfc3..39714a0102206e72d0acb1a53d8022eaab4981dc 100644
(file)
--- 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
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 $<
.c.o:
$(CC) $(CCFLAGS) $(DBX) -c $<
@@
-58,7
+58,7
@@
check: advent
.adoc.html: advent.adoc
asciidoc $<
.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
tar --transform='s:^:advent-$(VERS)/:' --show-transformed-names -cvzf advent-$(VERS).tar.gz $(SOURCES) advent.6
dist: advent-$(VERS).tar.gz