OSDN Git Service
(root)
/
linuxjm
/
jm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0cf7d61
)
README.in, INSTALL.in が更新されたら README, INSTALL が作り直されるように変更
author
Akihiro MOTOKI
<amotoki@users.sourceforge.jp>
Sat, 23 Oct 2010 20:01:41 +0000
(
05:01
+0900)
committer
Akihiro MOTOKI
<amotoki@users.sourceforge.jp>
Sat, 23 Oct 2010 20:09:46 +0000
(
05:09
+0900)
Makefile.dist
patch
|
blob
|
history
diff --git
a/Makefile.dist
b/Makefile.dist
index
0db64be
..
73e56fb
100644
(file)
--- a/
Makefile.dist
+++ b/
Makefile.dist
@@
-14,9
+14,13
@@
ifndef DIST
endif
DATE := $(shell date "+%Yǯ%m·î%dÆü")
endif
DATE := $(shell date "+%Yǯ%m·î%dÆü")
-all:
+all: $(README) $(INSTALL)
+
+$(README): $(README).in
perl -pe "s/\@DATE\@/$(DATE)/;\
s/\@FILENAME\@/$(DIST).tar.gz/" $(README).in > $(README)
perl -pe "s/\@DATE\@/$(DATE)/;\
s/\@FILENAME\@/$(DIST).tar.gz/" $(README).in > $(README)
+
+$(INSTALL): $(INSTALL).in
perl -pe "s/\@DIRNAME\@/$(DIST)/" $(INSTALL).in > $(INSTALL)
install: all
perl -pe "s/\@DIRNAME\@/$(DIST)/" $(INSTALL).in > $(INSTALL)
install: all