summaryrefslogtreecommitdiffstats
path: root/ipa-server/Makefile
blob: 4b1fe14bced4c1eb026364ac3c61e7c9af88d8cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SUBDIRS=ipa-install xmlrpc-server ipa-kpasswd ipa-slapi-plugins ipa-gui

SHAREDIR=$(DESTDIR)/usr/share/ipa
PYTHONDIR=$(SHAREDIR)/ipaserver
SBINDIR=$(DESTDIR)/usr/sbin


all:
	@for subdir in $(SUBDIRS); do \
		(cd $$subdir && $(MAKE) $@) || exit 1; \
	done

install-ipaserver:
	-mkdir -p $(PYTHONDIR)
	install -m 644 ipaserver/*.py $(PYTHONDIR)

install: install-ipaserver
	@for subdir in $(SUBDIRS); do \
		(cd $$subdir && $(MAKE) $@) || exit 1; \
	done

clean:
	@for subdir in $(SUBDIRS); do \
		(cd $$subdir && $(MAKE) $@) || exit 1; \
	done
	rm -f *~
	rm -f ipaserver/*~

test: