From 6ec810fe6a5dbde6f4e21e19092582c0ad9c0fdf Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Wed, 25 Nov 2015 19:57:25 +0100 Subject: Initial commit --- Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3528623 --- /dev/null +++ b/Makefile @@ -0,0 +1,36 @@ +VERSION = 3.81 + +all: help + +install: init defaults remark + +init: has_init + @cp -v init.d/infinoted /etc/init.d/ + +default: + @cp -v default/infinoted /etc/default/ + +has_init: + @pidof inits 2>&1 >/dev/null + +remark: + @echo "You might want to add the script to runlevels after testing. LSB compliant header existing." + +uninstall: + @rm -v /etc/init.d/infinoted /etc/default/infinoted + +.PHONY: help + +help: + @echo + @echo "Syntax : MAKE [target]" + @echo + @echo "Targets : help\t\t- Displays this help." + @echo " install\t- Installs script and compressed manpage." + @echo " init\t\t- Installs only the SysVinit script." + @echo " default\t- Only installs the file containing the application defaults." + @echo " uninstall\t- Deletes all files from your system." + @echo + @echo "Make sure you have all necessary privileges before doing something :)" + @echo "As there's nothing to compile here, a \"make\" or \"make all\" will just fire up this help." + @echo -- cgit v1.2.3