mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-27 07:31:35 +00:00
fix out-of-source builds for hfsutils
This commit is contained in:
parent
5f4733ea5f
commit
60f7efb5d4
@ -318,10 +318,9 @@ if [ $SKIP_THIRDPARTY != true ]; then
|
||||
# Build hfsutil
|
||||
mkdir -p $PREFIX/lib
|
||||
mkdir -p $PREFIX/share/man/man1
|
||||
rm -rf hfsutils
|
||||
cp -r $SRC/hfsutils .
|
||||
mkdir hfsutils
|
||||
cd hfsutils
|
||||
./configure --prefix=$PREFIX --mandir=$PREFIX/share/man --enable-devlibs
|
||||
$SRC/hfsutils/configure --prefix=$PREFIX --mandir=$PREFIX/share/man --enable-devlibs
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
@ -42,7 +42,7 @@ LIBINSTALL = @INSTALL_DATA@
|
||||
HARDLINK = ln -f
|
||||
|
||||
CC = @CC@
|
||||
INCLUDES = @CPPFLAGS@ -Ilibhfs @TCL_INCLUDES@ @TK_INCLUDES@
|
||||
INCLUDES = @CPPFLAGS@ -I${src}/libhfs -I. @TCL_INCLUDES@ @TK_INCLUDES@
|
||||
DEFINES = @DEFS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
@ -120,7 +120,7 @@ install_cli :: all_cli
|
||||
rm -f "$(BINDEST)/$(HFSUTIL)"
|
||||
|
||||
for file in $(GENERALDOCS) $(CLIDOCS); do \
|
||||
$(LIBINSTALL) doc/man/$$file \
|
||||
$(LIBINSTALL) $(src)/doc/man/$$file \
|
||||
"$(MANDEST)/man$(MANEXT)/`basename $$file .1`.$(MANEXT)"; \
|
||||
done
|
||||
|
||||
@ -136,7 +136,7 @@ install_tcl :: all_tcl
|
||||
fi
|
||||
|
||||
for file in $(TCLDOCS); do \
|
||||
$(LIBINSTALL) doc/man/$$file \
|
||||
$(LIBINSTALL) $(src)/doc/man/$$file \
|
||||
"$(MANDEST)/man$(MANEXT)/`basename $$file .1`.$(MANEXT)"; \
|
||||
done
|
||||
|
||||
@ -146,7 +146,7 @@ install_tk :: all_tk
|
||||
done
|
||||
|
||||
for file in $(TKDOCS); do \
|
||||
$(LIBINSTALL) doc/man/$$file \
|
||||
$(LIBINSTALL) $(src)/doc/man/$$file \
|
||||
"$(MANDEST)/man$(MANEXT)/`basename $$file .1`.$(MANEXT)"; \
|
||||
done
|
||||
|
||||
|
@ -40,7 +40,7 @@ SOFTLINK = @LN_S@
|
||||
OS = unix
|
||||
|
||||
CC = @CC@
|
||||
INCLUDES = @CPPFLAGS@
|
||||
INCLUDES = @CPPFLAGS@ -I.
|
||||
DEFINES = @DEFS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
@ -73,7 +73,7 @@ check :: all
|
||||
|
||||
install ::
|
||||
$(LIBINSTALL) libhfs.a "$(LIBDEST)/."
|
||||
$(LIBINSTALL) hfs.h "$(INCDEST)/."
|
||||
$(LIBINSTALL) $(src)/hfs.h "$(INCDEST)/."
|
||||
|
||||
again :: clean all
|
||||
|
||||
|
@ -37,7 +37,7 @@ INSTALL = @INSTALL@
|
||||
LIBINSTALL = @INSTALL_DATA@
|
||||
|
||||
CC = @CC@
|
||||
INCLUDES = @CPPFLAGS@
|
||||
INCLUDES = @CPPFLAGS@ -I.
|
||||
DEFINES = @DEFS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
@ -69,7 +69,7 @@ check :: all
|
||||
|
||||
install ::
|
||||
$(LIBINSTALL) librsrc.a "$(LIBDEST)/."
|
||||
$(LIBINSTALL) rsrc.h "$(INCDEST)/."
|
||||
$(LIBINSTALL) $(src)/rsrc.h "$(INCDEST)/."
|
||||
|
||||
again :: clean all
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user