2 TOOLS_TARGET_DIR
= /usr
/tool
4 TOOLS
= anacron-peruser hidedir nf_condition sshwho swapoff-progress syncifstate noshellinject
6 TOOLS_TARGET_FILES
:= $(addprefix $(TOOLS_TARGET_DIR
)/,$(TOOLS
))
9 install-all
: $(TOOLS_TARGET_FILES
) /usr
/sbin
/sendmail.cron
/usr
/sbin
/sendmail.atd install-sendmail-smtp
11 $(TOOLS_TARGET_FILES
): $(TOOLS_TARGET_DIR
)/%: %
12 install $(notdir $@
) $(TOOLS_TARGET_DIR
)/
13 @echo remove
$@
>> uninstall.sh
16 /usr
/sbin
/sendmail.smtp
: sendmail.smtp
18 @echo remove
$@
>> uninstall.sh
20 install-sendmail-smtp
: /usr
/sbin
/sendmail.smtp
21 update-alternatives
--install /usr
/sbin
/sendmail sendmail
/usr
/sbin
/sendmail.smtp
800
22 @echo update-alternatives
--remove sendmail
/usr
/sbin
/sendmail.smtp
>> uninstall.sh
24 .PHONY
: install-sendmail-smtp
26 /usr
/sbin
/sendmail.cron
: sendmail.cron
28 @echo remove
$@
>> uninstall.sh
30 /usr
/sbin
/sendmail.atd
: sendmail.atd
32 @echo remove
$@
>> uninstall.sh