mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 01:41:14 -06:00
9648da8f5f
Fix make maintainer-clean Also make RPM naming consistent by using a temp RELEASE file. This one helps when testing builds using rpms. Just 'echo X > RELEASE' to build a new rpms (X, X+1, X+2 ...) Version 1.1.0 was released some times ago, bump up to 1.1.1
29 lines
803 B
Makefile
29 lines
803 B
Makefile
SUBDIRS = ipa_webgui ipa_kpasswd
|
|
POLICY_MAKEFILE = /usr/share/selinux/devel/Makefile
|
|
POLICY_DIR = $(DESTDIR)/usr/share/selinux/targeted
|
|
|
|
all:
|
|
if [ ! -e $(POLICY_MAKEFILE) ]; then echo "You need to install the SELinux development tools (selinux-policy-devel)" && exit 1; fi
|
|
|
|
@for subdir in $(SUBDIRS); do \
|
|
(cd $$subdir && $(MAKE) -f $(POLICY_MAKEFILE) $@) || exit 1; \
|
|
done
|
|
|
|
clean:
|
|
@for subdir in $(SUBDIRS); do \
|
|
(cd $$subdir && $(MAKE) -f $(POLICY_MAKEFILE) $@) || exit 1; \
|
|
done
|
|
|
|
distclean: clean
|
|
rm -f ipa-server-selinux.spec
|
|
|
|
maintainer-clean: distclean
|
|
|
|
install: all
|
|
install -d $(POLICY_DIR)
|
|
install -m 644 ipa_webgui/ipa_webgui.pp $(POLICY_DIR)
|
|
install -m 644 ipa_kpasswd/ipa_kpasswd.pp $(POLICY_DIR)
|
|
|
|
load:
|
|
/usr/sbin/semodule -i ipa_webgui/ipa_webgui.pp ipa_kpasswd/ipa_kpasswd.pp
|