From d3633a83ab6ddb9e9e5af97359209dfd651bdae2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 10 Jul 2002 22:40:19 +0000 Subject: [PATCH] SGML conversion. --- Makefile | 18 +++++++++++------- bs.spec | 8 +++----- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 1d19c7f..2c187f8 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Note: When the version changes, you also have to change # * the name of the containing directory # * the RPM spec file -VERSION=2.3 +VERSION=2.4 # Flags for use with the Linux ncurses package (recommended) TERMLIB = -lncurses @@ -16,16 +16,20 @@ CC = gcc bs: bs.c $(CC) $(CFLAGS) -o bs bs.c $(TERMLIB) -lint: - lint bs.c -lcurses +bs.6: + docbook2man bs.sgml clean: - rm -f bs bs.shar bs.tar.gz *~ + rm -f bs bs.6 bs.tar.gz *~ -SOURCES = READ.ME bs.c Makefile bs.6 bs.lsm bs.spec +install: bs.6 uninstall + cp bs /usr/bin + cp bs.6 /usr/share/man/man6/bs.6 -bs.shar: - shar $(SOURCES) >bs.shar +uninstall: + rm -f /usr/bin/bs /usr/share/man/man6/bs.6 + +SOURCES = READ.ME bs.c Makefile bs.sgml bs.lsm bs.spec bs-$(VERSION).tar.gz: $(SOURCES) @ls $(SOURCES) | sed s:^:bs-$(VERSION)/: >MANIFEST diff --git a/bs.spec b/bs.spec index 8567a70..5be7b00 100644 --- a/bs.spec +++ b/bs.spec @@ -1,8 +1,8 @@ Name: bs Summary: Battleships against the computer (character-cell graphics) -Version: 2.3 +Version: 2.4 Release: 1 -Source: locke.ccil.org:/pub/esr/bs-2.3.tar.gz +Source: locke.ccil.org:/pub/esr/bs-2.4.tar.gz Copyright: BSD-like Group: Games %description @@ -17,9 +17,7 @@ If you're using an xterm under Linux the mouse will work. make %install -rm -f /usr/bin/bs -cp bs /usr/bin -cp bs.6 /usr/share/man/man6/bs.6 +make install %files /usr/share/man/man6/bs.6 -- 2.43.0