12e1ecf598
PR: 32312 Submitted by: KATO Tsuguru <tkato@prontomail.com>
48 lines
1.6 KiB
Text
48 lines
1.6 KiB
Text
--- Makefile.in.orig Sat Nov 18 00:00:00 2000
|
|
+++ Makefile.in Thu Apr 5 04:47:50 2001
|
|
@@ -3,13 +3,13 @@
|
|
#
|
|
|
|
TITLE = lipsf
|
|
-PREFIX = /usr/local
|
|
+PREFIX ?= /usr/local
|
|
+MANLANG ?= ja
|
|
MANSEC = 1
|
|
TOPDIR = $(PREFIX)
|
|
BINDIR = $(TOPDIR)/bin
|
|
-MANDIR = $(TOPDIR)/man__LANGDIR__/man$(MANSEC)
|
|
-CATDIR = $(TOPDIR)/man__LANGDIR__/cat$(MANSEC)
|
|
-INSTALL = __INSTALL__
|
|
+MANDIR = $(TOPDIR)/man/$(MANLANG)/man$(MANSEC)
|
|
+CATDIR = $(TOPDIR)/man/$(MANLANG)/cat$(MANSEC)
|
|
CHMOD = chmod
|
|
|
|
LSRC = lipsf.c output.c print.c control.c args.c var.c
|
|
@@ -43,7 +43,7 @@
|
|
POBJ2 = output__OBJ__ print__OBJ__ control__OBJ__ args__OBJ__ var__OBJ__ __DOSOBJS__
|
|
KNJOBJ = pols__OBJ__ input__OBJ__ file__OBJ__ style__OBJ__
|
|
LDFLAGS = __TERMLIBS__ __OTHERLIBS__
|
|
-CFLAGS = -D__OSTYPE__ __CCOPTIONS__
|
|
+CFLAGS += -D__OSTYPE__
|
|
|
|
.SUFFIXES: .h .c __OBJ__ __EXE__
|
|
|
|
@@ -115,14 +115,10 @@
|
|
# to install all
|
|
|
|
install: $(LIPSFB) $(POLSB) $(LIPSF).$(MANSEC) $(POLS).$(MANSEC)
|
|
- $(INSTALL) __INSTSTRIP__ $(LIPSFB) $(BINDIR)
|
|
- $(CHMOD) a+rx $(BINDIR)/$(LIPSFB)
|
|
- $(INSTALL) __INSTSTRIP__ $(POLSB) $(BINDIR)
|
|
- $(CHMOD) a+rx $(BINDIR)/$(POLSB)
|
|
- $(INSTALL) $(LIPSF).$(MANSEC) $(MANDIR)/$(LIPSF).$(MANSEC)
|
|
- $(CHMOD) a+r $(MANDIR)/$(LIPSFB).$(MANSEC)
|
|
- $(INSTALL) $(POLS).$(MANSEC) $(MANDIR)/$(POLS).$(MANSEC)
|
|
- $(CHMOD) a+r $(MANDIR)/$(POLSB).$(MANSEC)
|
|
+ ${BSD_INSTALL_PROGRAM} $(LIPSFB) $(BINDIR)
|
|
+ ${BSD_INSTALL_PROGRAM} $(POLSB) $(BINDIR)
|
|
+ ${BSD_INSTALL_MAN} $(LIPSF).$(MANSEC) $(MANDIR)/$(LIPSF).$(MANSEC)
|
|
+ ${BSD_INSTALL_MAN} $(POLS).$(MANSEC) $(MANDIR)/$(POLS).$(MANSEC)
|
|
|
|
catman: $(LIPSF).$(MANSEC)c $(POLS).$(MANSEC)c
|
|
$(INSTALL) $(LIPSF).$(MANSEC)c $(CATDIR)/$(LIPSF).$(MANSEC)
|