summaryrefslogtreecommitdiffstats
path: root/ipa-client/Makefile
blob: d16e53f9fe21ce7a7fb2d4684b3ed7d67d255e7c (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
SUBDIRS=ipa-install
PYTHONDIR=$(DESTDIR)/usr/share/ipa/ipaclient

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

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

install: install-ipaclient
	@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 ipaclient/*~

test: