a6e3c8fa53
o as usual, delete the patch files in the filesdir and replace with the files in this PR o redefine XMKMF in the Makefile because xmkmf -a did not the good thing o add a "do-configure:" in the Makefile PR: 52491 Submitted by: Serge Gagnon <gagnon__s@videotron.ca> (maintainer)
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
--- editkit/Imakefile.orig Sun May 18 15:41:24 2003
|
|
+++ editkit/Imakefile Tue May 20 12:44:02 2003
|
|
@@ -1,14 +1,16 @@
|
|
XCOMM Should install to /usr or /usr/local ??
|
|
-DESTDIR=/usr
|
|
+DESTDIR=
|
|
+PREFIX= /usr/X11R6
|
|
+INCLUDES= $(PREFIX)/include
|
|
|
|
XCOMM Name of man subdirectory of DESTDIR:
|
|
-MANDIR=/X11R6/man/man1
|
|
+MANDIR=$(PREFIX)/man/man1
|
|
|
|
XCOMM Name of bin subdirectory of DESTDIR: /X11R6/bin or maybe just /bin
|
|
-BINDIR=/X11R6/bin
|
|
+BINDIR=$(PREFIX)/bin
|
|
|
|
XCOMM Name of share subdirectory of DESTDIR:
|
|
-SHARE_DIR=/share/editkit
|
|
+SHARE_DIR=$(PREFIX)/share/editkit
|
|
|
|
XCOMM
|
|
XCOMM Normally -- except for new architectures -- you should be done there.
|
|
@@ -17,7 +19,7 @@
|
|
XCOMM Compile options:
|
|
XCOMM
|
|
|
|
-CFLAGS = -O2 -fomit-frame-pointer -pipe -Wall -DTHREED -DGREEK -DJUSTIFY -DSHARE_DIR="\"$(DESTDIR)$(SHARE_DIR)\""
|
|
+CFLAGS = -I$(INCLUDES) -O2 -fomit-frame-pointer -pipe -Wall -DTHREED -DGREEK -DJUSTIFY -DSHARE_DIR="\"$(SHARE_DIR)\""
|
|
|
|
LOCAL_LIBRARIES=$(XLIB)
|
|
DEPLIBS= # I don't know what I'm doing, and I hate imake!
|
|
@@ -32,9 +34,9 @@
|
|
|
|
install::
|
|
mkdir -p $(DESTDIR)$(SHARE_DIR)
|
|
- cp -f rc.example $(DESTDIR)$(SHARE_DIR)/rc.common
|
|
- cd $(DESTDIR)$(SHARE_DIR); ln -sf rc.common emxrc
|
|
- cp -f README $(DESTDIR)$(SHARE_DIR)
|
|
+ cp -f rc.example $(SHARE_DIR)/rc.common
|
|
+ cd $(SHARE_DIR); ln -sf rc.common emxrc
|
|
+ cp -f README $(SHARE_DIR)
|
|
|
|
clean::
|
|
rm -f *~
|