1997-07-20 16:41:58 +00:00
|
|
|
--- Makefile.orig Sat Mar 8 00:12:00 1997
|
1998-08-23 16:20:07 +00:00
|
|
|
+++ Makefile Sun Aug 23 23:57:27 1998
|
1997-07-20 16:41:58 +00:00
|
|
|
@@ -5,12 +5,15 @@
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
-BINDIR = /usr/local/bin
|
|
|
|
-LIBDIR = /usr/lib/perl
|
|
|
|
+PREFIX ?= /usr/local
|
|
|
|
+BINDIR = ${PREFIX}/bin
|
|
|
|
+PERLLIBDIR?= ${PREFIX}/lib/perl
|
|
|
|
+LIBDIR = ${PERLLIBDIR}
|
|
|
|
JPDIR = ./l10n/ja-jp
|
|
|
|
-JMANDIR = /usr/local/man/ja/man1
|
1998-06-06 03:45:17 +00:00
|
|
|
+JMANDIR = ${PREFIX}/man/ja/man1
|
1997-07-20 16:41:58 +00:00
|
|
|
PROGRAM = weblint
|
|
|
|
JPROGRAM = jweblint
|
|
|
|
+JPROGRAM_TMP = jweblint.tmp
|
|
|
|
EXTLIB = html-ext.pl
|
|
|
|
I18NLIB = htmli18n.pl
|
|
|
|
JCODE = jcode.pl
|
1998-08-23 16:20:07 +00:00
|
|
|
@@ -44,11 +47,10 @@
|
|
|
|
-cp $(JPDIR)/$(JPROGRAM).1 $(JMANDIR)
|
|
|
|
-cp $(EXTLIB) $(LIBDIR)
|
|
|
|
-cp $(I18NLIB) $(LIBDIR)
|
|
|
|
- -cp $(JCODE) $(LIBDIR)
|
1997-07-20 16:41:58 +00:00
|
|
|
|
|
|
|
euc-jp:
|
|
|
|
patch < $(JPDIR)/euc-jp.patch
|
|
|
|
- mv $(PROGRAM) $(JPROGRAM)
|
|
|
|
+ mv $(PROGRAM) $(JPROGRAM_TMP)
|
|
|
|
mv $(JPDIR)/$(JCODE) .
|
|
|
|
|
|
|
|
sjis:
|