3 LIB_DIR
= /usr
/lib
/tool
/perl5
/tabdata
37 TARGET_TOOLS
= $(foreach filename
,$(TOOLS
),$(BIN_DIR
)/$(filename
))
40 install-all
: depcheck
$(TARGET_TOOLS
) $(LIB_DIR
)/common.pl install-manpages
44 @echo
$(TOOLS
) | tr
" " "\n" |
sort
47 $(TARGET_TOOLS
): $(BIN_DIR
)/%: %
48 install $(notdir $@
) $(BIN_DIR
)/
49 @echo remove
$@
>> uninstall.sh
51 $(LIB_DIR
)/common.pl
: common.pl
$(LIB_DIR
)
52 install $(notdir $@
) $(LIB_DIR
)/
53 @echo remove
$@
>> uninstall.sh
57 @echo remove
$@
>> uninstall.sh
61 $(info Checking dependencies...
)
63 perl
-MList
::MoreUtils
-e
1
64 perl
-MPod
::Usage
-e
1
65 perl
-MMIME
::QuotedPrint
-e
1
69 .PHONY
: try-satisfy-dependencies
70 try-satisfy-dependencies
:
71 apt
install libswitch-perl liblist-moreutils-perl libtext-csv-perl
76 include ..
/user-tools
/Makefile.documentation.mk