Karl MacMillan wrote:

> > This largish patch makes the build and installation work on 64bit
> > machines. The only catch here is that to get a 64bit build you need to
> > set LIBDIR on make:
> >
> > make install LIBDIR=/usr/lib64
> >
> > The spec file does this correctly. I couldn't find any reliable way to
> > guess this that works both on real systems and in the almost entirely
> > empty rpm build root (you can't, for example, check for the existence
> > of /usr/lib64).
This commit is contained in:
Karl MacMillan
-
parent aaa992b744
commit d2a19b2009
16 changed files with 72 additions and 87 deletions

View File

@@ -1,13 +1,13 @@
SHAREDIR = $(DESTDIR)/usr/share/ipa/ipaserver
include ../Makefile.common
all: ;
install:
-mkdir -p $(SHAREDIR)
-mkdir -p $(SHAREDIR)/../html
install -m 644 *.py $(SHAREDIR)
install -m 644 ipa.conf $(SHAREDIR)/..
install -m 644 *.html $(SHAREDIR)/../html
-mkdir -p $(SHAREDIR)/html
install -m 644 *.py $(SHAREDIR)/ipaserver
install -m 644 ipa.conf $(SHAREDIR)
install -m 644 *.html $(SHAREDIR)/html
clean:
rm -f *~ *.pyc