adding man page, sample conf, makefile
[sitarba.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..2365971
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+PREFIX=/usr
+# Where the script binary should go
+BINPATH = $(PREFIX)/bin
+# Where the manpage should go
+MANPATH = $(PREFIX)/share/man
+CONFFILE = /etc/shbackup.conf
+
+######################################################################
+
+all: 
+
+install: all
+       install -m 0755 shbackup $(BINPATH)/shbackup
+       install -m 0644 shbackup.conf $(CONFFILE)
+       install -m 0644 shbackup.1 $(MANPATH)/man1/shbackup.1
+