diff options
author | mail_redacted_for_web | 2015-11-25 19:57:25 +0100 |
---|---|---|
committer | mail_redacted_for_web | 2015-11-25 19:57:25 +0100 |
commit | 6ec810fe6a5dbde6f4e21e19092582c0ad9c0fdf (patch) | |
tree | e032d3c6845c7f5d8a0d0047252b26a9b18a391a /Makefile | |
download | infinoted-init-6ec810fe6a5dbde6f4e21e19092582c0ad9c0fdf.tar.bz2 |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
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 |