3 LIB_DIR
= /usr
/lib
/tool
/perl5
/tabdata
34 TARGET_TOOLS
= $(foreach filename
,$(TOOLS
),$(BIN_DIR
)/$(filename
))
37 install-all
: depcheck
$(TARGET_TOOLS
) $(LIB_DIR
)/common.pl install-manpages
40 $(TARGET_TOOLS
): $(BIN_DIR
)/%: %
41 install $(notdir $@
) $(BIN_DIR
)/
42 @echo remove
$@
>> uninstall.sh
44 $(LIB_DIR
)/common.pl
: common.pl
$(LIB_DIR
)
45 install $(notdir $@
) $(LIB_DIR
)/
46 @echo remove
$@
>> uninstall.sh
50 @echo remove
$@
>> uninstall.sh
54 $(info Checking dependencies...
)
56 perl
-MList
::MoreUtils
-e
1
57 perl
-MPod
::Usage
-e
1
58 perl
-MMIME
::QuotedPrint
-e
1
62 .PHONY
: try-satisfy-dependencies
63 try-satisfy-dependencies
:
64 apt
install libswitch-perl liblist-moreutils-perl libtext-csv-perl
69 include ..
/user-tools
/Makefile.documentation.mk