build(selinux): follow distribution method of SPEC for *.te

main
Tsu-ba-me 9 months ago
parent f5d9bdee37
commit ebb6fcabd2
  1. 9
      selinux/Makefile.am
  2. 0
      selinux/anvil-subnode.te.in

@ -6,7 +6,7 @@ SE_TYPE = targeted
SE_SRC_SUBNODE_TE = anvil-subnode.te SE_SRC_SUBNODE_TE = anvil-subnode.te
EXTRA_DIST = \ EXTRA_DIST = \
$(SE_SRC_SUBNODE_TE) $(SE_SRC_SUBNODE_TE).in
# Variables: # Variables:
# $@ : target name # $@ : target name
@ -27,17 +27,16 @@ se-makefile:
exit 1; \ exit 1; \
fi fi
.PHONY: subnode-te $(SE_SRC_SUBNODE_TE): $(SE_SRC_SUBNODE_TE).in
subnode-te: anvil-subnode.te
-@echo "Making $@: $^" -@echo "Making $@: $^"
-pwd -pwd
-ls -Al "$(srcdir)" -ls -Al "$(srcdir)"
-ls -Al -ls -Al
cp -r -p --no-preserve=mode "${srcdir}/${SE_SRC_SUBNODE_TE}" "$(SE_SRC_SUBNODE_TE)" cp -r -p --no-preserve=mode "$<" "$@"
-ls -Al "$(srcdir)" -ls -Al "$(srcdir)"
-ls -Al -ls -Al
anvil-subnode.pp: se-makefile subnode-te anvil-subnode.pp: se-makefile $(SE_SRC_SUBNODE_TE)
-@echo "Making $@: $^" -@echo "Making $@: $^"
-pwd -pwd
-ls -Al "$(srcdir)" -ls -Al "$(srcdir)"

Loading…
Cancel
Save