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.
183
2000/03/26 15:
14
:
17
grubba Exp $
+
# $Id: Makefile.in,v 1.
184
2000/03/26 15:
16
:
39
grubba 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:381:
$(RUNPIKE) $(TMP_BINDIR)/feature_list lib: $(LIBDIR_SRC)/master.pike.in Makefile @for d in lib lib/modules lib/include; do \ if [ -d $$d/. ]; then : ; else \ echo "Creating $$d/."; \ (mkdir $$d && chmod u+rwx $$d) || exit 1; \ fi ; \ done @if [ -d share/. ]; then : ; else \
-
echo "Creating symlink ./share"; \
+
if [ "x`ls -d share 2>/dev/null || :`" = "x" ]; then :; else \ if [ "x`ls -d share.old 2>/dev/null || :`" = "x" ]; then :; else \ echo "Deleting share.old"; \
-
$(RM) share.old; \
+
$(RM) share.old
|| exit 1
; \
fi; \ echo "Renaming share to share.old"; \ mv share share.old || exit 1; \ fi; \
-
+
echo "Creating symlink ./share"; \
ln -s "$(LIBDIR_SRC)" ./share || exit 1; \ fi @echo "Done." -@touch ./lib 2>/dev/null || (touch lib/.broken_gnu_touch && rm lib/.broken_gnu_touch) master.pike: $(LIBDIR_SRC)/master.pike.in Makefile t="$$PIKE_PATH_TRANSLATE"; if test "x$$t" = "x"; then t=s,x,x,; else :; fi; \ sed -e 's!¤lib_prefix¤!'"`echo \"$(TMP_LIBDIR)\" | sed -e \"$$t\"`"'!' <$(LIBDIR_SRC)/master.pike.in \ | sed -e 's!¤share_prefix¤!'"`echo \"$(LIBDIR_SRC)\" | sed -e \"$$t\"`"'!' >master.pike