mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-09 07:43:01 -06:00
d2a19b2009
> > 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).
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
include ../Makefile.common
|
|
|
|
IPAGUI_SUBDIRS=config forms helpers templates subcontrollers
|
|
STATIC_SUBDIRS=css images javascript
|
|
|
|
all: ;
|
|
|
|
install:
|
|
-mkdir -p $(SHAREDIR)/ipagui
|
|
install -m 644 ipagui/*.py $(SHAREDIR)/ipagui
|
|
|
|
-mkdir -p $(SHAREDIR)/ipa_gui.egg-info
|
|
install -m 644 ipa_gui.egg-info/* $(SHAREDIR)/ipa_gui.egg-info
|
|
|
|
@for subdir in $(IPAGUI_SUBDIRS); do \
|
|
mkdir -p $(SHAREDIR)/ipagui/$$subdir; \
|
|
install -m 644 ipagui/$$subdir/*.py $(SHAREDIR)/ipagui/$$subdir; \
|
|
done
|
|
|
|
install -m 644 ipagui/config/*.cfg $(SHAREDIR)/ipagui/config
|
|
install -m 644 ipagui/templates/*.kid $(SHAREDIR)/ipagui/templates
|
|
|
|
-mkdir -p $(SHAREDIR)/ipagui/static
|
|
@for subdir in $(STATIC_SUBDIRS); do \
|
|
mkdir -p $(SHAREDIR)/ipagui/static/$$subdir; \
|
|
install -m 644 ipagui/static/$$subdir/* $(SHAREDIR)/ipagui/static/$$subdir; \
|
|
done
|
|
|
|
install -m 644 ipa-webgui.cfg $(SHAREDIR)
|
|
|
|
install -m 755 ipa-webgui $(SBINDIR)
|
|
|
|
-mkdir -p $(INITDIR)
|
|
install -m 755 ipa-webgui.init $(INITDIR)/ipa-webgui
|
|
|
|
clean:
|
|
find . -name "*.pyc" -exec rm -f {} \;
|
|
find . -name "*~" -exec rm -f {} \;
|