From: Jilles Tjoelker Date: Sat, 28 Feb 2004 15:18:20 +0000 (+0000) Subject: Install the manpage as well. X-Git-Tag: v1.6.1-roc-dev~440 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=ff19ea96ccb16fb29b592eb3103cc76ca1e3d5e9;p=dgamelaunch Install the manpage as well. Now version 1.4.3. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@261 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/Changelog b/Changelog index 962abc7..3bbe743 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,7 @@ -1.4.3 (???) +1.4.3 (2004/02/28) * Make ttyplay use the 'strip' value it remembered from last view. * Don't fail if client-supplied window size seems incorrect. + * Added a simple man page. 1.4.2 (2004/02/22) * Add a compile-time option to define a static location to look diff --git a/Makefile b/Makefile index 64c223b..ab69b45 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ -VERSION = 1.4.2 +VERSION = 1.4.3 # Hardcoded path to config file DEFCONFIG = /etc/dgamelaunch.conf NAME = dgamelaunch exclusions = CVS .svn .cvsignore tags PREFIX = /usr SBINDIR = $(PREFIX)/sbin +ifeq (PREFIX,/usr) + MANDIR = $(PREFIX)/share/man +else + MANDIR = $(PREFIX)/man +endif +MAN8 = dgamelaunch.8 ifndef optimize optimize = -O0 @@ -61,6 +67,7 @@ clean: install: $(INSTALL) -m 755 $(NAME) $(SBINDIR) + $(INSTALL) -m 644 $(MAN8) $(MANDIR)/man8 indent: indent -nut -ts2 *.c *.h