summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/Makefile
blob: 36d5d2247c36d47156958b983a582bf40f33278d (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
30
31
32
33
34
35
36
37
38
39
SUBDIRS=man
SBINDIR = $(DESTDIR)/usr/sbin


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

install:
	install -m 755 ipa-adduser $(SBINDIR)
	install -m 755 ipa-finduser $(SBINDIR)
	install -m 755 ipa-usermod $(SBINDIR)
	install -m 755 ipa-deluser $(SBINDIR)
	install -m 755 ipa-lockuser $(SBINDIR)
	install -m 755 ipa-addgroup $(SBINDIR)
	install -m 755 ipa-delgroup $(SBINDIR)
	install -m 755 ipa-findgroup $(SBINDIR)
	install -m 755 ipa-groupmod $(SBINDIR)
	install -m 755 ipa-passwd $(SBINDIR)
	install -m 755 ipa-addservice $(SBINDIR)
	install -m 755 ipa-adddelegation $(SBINDIR)
	install -m 755 ipa-deldelegation $(SBINDIR)
	install -m 755 ipa-listdelegation $(SBINDIR)
	install -m 755 ipa-moddelegation $(SBINDIR)

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

install-man:
	install -m 644

clean:
	rm -f *~ *.pyc

distclean: clean

test: