OSDN Git Service
(root)
/
nkf
/
nkf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
574b268
)
Fix Makefile: PHONY install and add recursive mkdir. [#45482]
author
NARUSE Yui
<naruse@users.sourceforge.jp>
Fri, 21 Aug 2009 12:45:10 +0000
(21:45 +0900)
committer
NARUSE Yui
<naruse@users.sourceforge.jp>
Fri, 21 Aug 2009 12:45:10 +0000
(21:45 +0900)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
862d805
..
c2d9022
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-6,8
+6,11
@@
SHAR = shar
PERL = perl
RM = rm -rf
VERSION = 2.0.9
+MKDIR = mkdir
prefix = /usr/local
+.PHONY: clean install test tar shar
+
nkf : nkf.o utf8tbl.o
$(CC) $(CFLAGS) -o nkf nkf.o utf8tbl.o
@@
-31,6
+34,11
@@
perl:
make test )
install:
+ -$(MKDIR) $(prefix)/bin
+ -$(MKDIR) $(prefix)/man
+ -$(MKDIR) $(prefix)/man/man1
+ -$(MKDIR) $(prefix)/man/ja
+ -$(MKDIR) $(prefix)/man/ja/man1
cp nkf $(prefix)/bin/
cp nkf.1 $(prefix)/man/man1/
cp nkf.1j $(prefix)/man/ja/man1/nkf.1