summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1998-01-20 18:48:58 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1998-01-20 18:48:58 +0000
commit6e5cc89c6eba9f02bb6f56acfc5cf4761b2649b8 (patch)
tree5ef7201e0392b144d68c2fab102c6435e1395c0b /clients
parent593fe0139563a0d38a9252df2075a0ccc82a5daa (diff)
From svalente: generate XZwrite with sed.
Diffstat (limited to 'clients')
-rw-r--r--clients/xzwrite/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/clients/xzwrite/Makefile.in b/clients/xzwrite/Makefile.in
index 995c543..1013ab9 100644
--- a/clients/xzwrite/Makefile.in
+++ b/clients/xzwrite/Makefile.in
@@ -18,6 +18,7 @@ BUILDTOP=../..
VPATH=@srcdir@
CC=@CC@
INSTALL=@INSTALL@
+at=@
DEBUG=-O
CFLAGS=${DEBUG} -DDATADIR=\"${datadir}\" -I${top_srcdir}/h \
@@ -30,11 +31,15 @@ OBJS= interface.o resource.o destlist.o util.o bfgets.o gethomedir.o \
dest_window.o xzwrite.o edit_window.o zephyr.o GetString.o Popup.o \
yank.o menu_window.o logins.o
-all: xzwrite
+all: xzwrite XZwrite
xzwrite: ${OBJS} ${BUILDTOP}/lib/libzephyr.a ${BUILDTOP}/libdyn/libdyn.a
${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
+XZwrite: XZwrite.in
+ rm -f XZwrite
+ sed -e 's,$(at)datadir$(at),$(datadir),' < XZwrite.in > XZwrite
+
check:
install: xzwrite XZwrite