Makefile
changeset 0 71a3a2a6663d
child 2 3bea787fbeda
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Tue May 03 14:39:45 2016 +0200
@@ -0,0 +1,18 @@
+# Makefile for backup2Archiv2
+# Author: Heike Yvonne Pesch
+
+INSTALL_PATH=/usr/local/sbin
+INSTALL_LIST= backup2Archiv2
+
+list:
+	@echo "USAGE: make [install|clean]"
+
+install:
+	@test -d $(INSTALL_PATH) || mkdir $(INSTALL_PATH)
+	@chmod 2755 $(INSTALL_PATH)
+	@chgrp staff $(INSTALL_PATH)
+	@umask 003; cp --target-directory=$(INSTALL_PATH) $(INSTALL_LIST)
+	@chmod 555 $(INSTALL_PATH)/*
+				  
+clean:
+	@cd $(INSTALL_PATH); rm -f $(INSTALL_LIST)