pike.git
/
src
/
Makefile.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/Makefile.in:1:
#
-
# $Id: Makefile.in,v 1.
79
1998/04/
18
12
:
04
:
16
mirar
Exp $
+
# $Id: Makefile.in,v 1.
80
1998/04/
19
00
:
14
:
54
hubbe
Exp $
# # This line is needed on some machines. @SET_MAKE@ # Don't change this line. Define EXTRALIBS before this line if you # wish to add any libraries. LIBS=@LIBS@ $(EXTRALIBS) # This is normall the install program in the source directory
pike.git/src/Makefile.in:241:
fi; \ else : ; fi @echo ; echo "Installing header-files..."; \ for a in $(SRCDIR)/*.h *.h ; do \ $(INSTALL) $$a $(prefix)/include/pike || exit 1; \ chmod a+r $(prefix)/include/pike ; \ chmod u+w $(prefix)/include/pike ; \ done @echo ; echo "Installing modules written in Pike..."; \ for f in `cd "$(LIBDIR_SRC)"; find . -type f -print`; do \
-
if cmp "$(share_prefix)/$$f" "$(
TMP_
LIBDIR)/$$f" >/dev/null 2>&1 ; \
+
if cmp "$(share_prefix)/$$f" "$(
LIBDIR
_
SRC
)/$$f" >/dev/null 2>&1 ; \
then : ; else \ echo "$(share_prefix)/$$f"; \ if [ -f "$(share_prefix)/$$f" ]; then \ mv -f "$(share_prefix)/$$f" "$(share_prefix)/$$f.old"; \ else : ; fi; \ if [ -f "$(lib_prefix)/$$f" ]; then \ if test "x$(lib_prefix)" != "x$(share_prefix)"; then \ mv -f "$(lib_prefix)/$$f" "$(lib_prefix)/$$f.now_in_share.old"; \ else : ; fi; \ else : ; fi; \
pike.git/src/Makefile.in:348:
done @if [ -d share/. ]; then : ; else \ echo "Creating symlink ./share"; \ if ls share >/dev/null 2>&1; then \ echo "Renaming share to share.old"; \ mv share share.old || exit 1; \ else : ; fi; \ ln -s "$(LIBDIR_SRC)" ./share || exit 1; \ fi @echo "Creating lib/master.pike"; \
-
( sed -e 's!
¤exec_prefix¤!$(exec_prefix)!' \
-
-e 's!
¤lib_prefix¤!$(lib_prefix)!' \
-
-e 's!
¤data
_prefix¤!$(share_prefix)!' \
+
( sed -e 's!¤lib_prefix¤!$(lib_prefix)!' \
+
-e 's!
¤share
_prefix¤!$(share_prefix)!' \
<$(LIBDIR_SRC)/master.pike.in \ >./lib/master.pike && chmod 644 ./lib/master.pike) || exit 1 @echo "Done." -@touch ./lib 2>/dev/null || (touch lib/.broken_gnu_touch && rm lib/.broken_gnu_touch) master.pike: $(LIBDIR_SRC)/master.pike.in sed -e 's!¤lib_prefix¤!$(TMP_LIBDIR)!' <$(LIBDIR_SRC)/master.pike.in \ | sed -e 's!¤share_prefix¤!$(LIBDIR_SRC)!' >master.pike