Lines 9-18
Link Here
|
9 |
#Destination Directory |
9 |
#Destination Directory |
10 |
prefix=@prefix@ |
10 |
prefix=@prefix@ |
11 |
exec_prefix=@exec_prefix@ |
11 |
exec_prefix=@exec_prefix@ |
12 |
DESTDIR=@bindir@ |
12 |
BINDIR=$(DESTDIR)/@bindir@ |
13 |
LIBDIR=@libdir@ |
13 |
LIBDIR=$(DESTDIR)/@libdir@ |
14 |
XWPELIBDIR= $(LIBDIR)/xwpe |
14 |
XWPELIBDIR=$(LIBDIR)/xwpe |
15 |
MANDIR=@mandir@ |
15 |
MANDIR=$(DESTDIR)/@mandir@ |
16 |
|
16 |
|
17 |
LIBS=@LIBS@ |
17 |
LIBS=@LIBS@ |
18 |
XLIBS=@X_LIBS@ @X_PRE_LIBS@ @X_EXTRA_LIBS@ |
18 |
XLIBS=@X_LIBS@ @X_PRE_LIBS@ @X_EXTRA_LIBS@ |
Lines 115-128
Link Here
|
115 |
# Bug Note: Currently xwpe and xwe are installed even if X windows versions |
115 |
# Bug Note: Currently xwpe and xwe are installed even if X windows versions |
116 |
# are not compiled. (They will function as wpe and we respectively.) |
116 |
# are not compiled. (They will function as wpe and we respectively.) |
117 |
install_fst: xwpe |
117 |
install_fst: xwpe |
118 |
if test ! -d $(DESTDIR); then mkdir -p $(DESTDIR); fi |
118 |
if test ! -d $(BINDIR); then mkdir -p $(BINDIR); fi |
119 |
if test ! -d $(XWPELIBDIR); then mkdir -p $(XWPELIBDIR); fi |
119 |
if test ! -d $(XWPELIBDIR); then mkdir -p $(XWPELIBDIR); fi |
120 |
rm -f $(DESTDIR)/wpe $(DESTDIR)/xwpe $(DESTDIR)/we $(DESTDIR)/xwe |
120 |
rm -f $(BINDIR)/wpe $(BINDIR)/xwpe $(BINDIR)/we $(BINDIR)/xwe |
121 |
$(INSTALL) xwpe $(DESTDIR)/we |
121 |
$(INSTALL) xwpe $(BINDIR)/we |
122 |
chmod ugo+x $(DESTDIR)/we |
122 |
chmod ugo+x $(BINDIR)/we |
123 |
(cd $(DESTDIR) && $(LN_S) we xwe) |
123 |
(cd $(BINDIR) && $(LN_S) we xwe) |
124 |
(cd $(DESTDIR) && $(LN_S) we xwpe) |
124 |
(cd $(BINDIR) && $(LN_S) we xwpe) |
125 |
(cd $(DESTDIR) && $(LN_S) we wpe) |
125 |
(cd $(BINDIR) && $(LN_S) we wpe) |
126 |
rm -f $(XWPELIBDIR)/help.xwpe |
126 |
rm -f $(XWPELIBDIR)/help.xwpe |
127 |
if test ! -f $(XWPELIBDIR)/syntax_def; then \ |
127 |
if test ! -f $(XWPELIBDIR)/syntax_def; then \ |
128 |
$(INSTALL) syntax_def $(XWPELIBDIR)/syntax_def; \ |
128 |
$(INSTALL) syntax_def $(XWPELIBDIR)/syntax_def; \ |