OSDN Git Service

[MISC] Makefile is modified to compress manpage in the build process.
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sun, 16 Jan 2011 12:57:47 +0000 (21:57 +0900)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sun, 16 Jan 2011 12:57:47 +0000 (21:57 +0900)
modified:   Makefile
modified:   portsreinstall
modified:   portsreinstall.8

Makefile
portsreinstall
portsreinstall.8

index c218445..49b72e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,15 +8,17 @@ PROGNAME=     portsreinstall
 PREFIX?=       /usr/local
 INSTALL=       install -c
 RM=    rm -f
-
-all:
+GZIP=  gzip -f
 
 install:
        $(INSTALL) $(PROGNAME) $(PREFIX)/bin
-       $(INSTALL) $(PROGNAME).8.gz $(PREFIX)/man/man8
+       $(INSTALL) $(PROGNAME).8 $(PREFIX)/man/man8
+       $(GZIP) ${PREFIX}/man/man8/$(PROGNAME).8
        $(INSTALL) $(PROGNAME).conf $(PREFIX)/etc/$(PROGNAME).conf.sample
        if [ ! -e $(PREFIX)/etc/$(PROGNAME).conf ]; then $(INSTALL) $(PROGNAME).conf $(PREFIX)/etc; fi
 
+clean:
+
 deinstall:
        $(RM) ${PREFIX}/bin/$(PROGNAME)
        $(RM) ${PREFIX}/man/man8/$(PROGNAME).8.gz
index 240cbba..838e16f 100755 (executable)
@@ -9,7 +9,7 @@
 # ================================================
 
 APPNAME=`basename $0`
-MYVERSION=0.9.2
+MYVERSION=0.9.3
 
 PREFIX=${PREFIX:-/usr/local}
 CONFFILE=${PREFIX}/etc/${APPNAME}.conf
index a887636..75b2881 100644 (file)
@@ -189,6 +189,9 @@ Configuration file of portupgrade(1).
 .SH HISTORY
 \fBportsreinstall\fR has been developed as below.
 .TP
+0.9.3 (16 Jan 2011)
+[MISC] Makefile is modified to compress manpage in the build process.
+.TP
 0.9.2 (10 Jan 2011)
 [MISC] The 2-Clause BSD Licence is applied from this version.