Makefile
author terom@yzzrt-hyper.lan
Sun, 19 Oct 2008 22:33:43 +0300
changeset 0 e88b62deaec4
permissions -rw-r--r--
initial code
0
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     1
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     2
XMSH_PATH=/home/xmsh
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     3
XMSH_BIN_PATH=${XMSH_PATH}/bin/xmsh
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     4
XMSH_ETC_DIR=${XMSH_PATH}/etc
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     5
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     6
CFLAGS = -Wall -DXMSH_PATH=${XMSH_PATH}
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     7
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     8
all: xmsh
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
     9
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
    10
install:
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
    11
	/bin/cp ./xmsh ${XMSH_BIN_PATH}
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
    12
	/bin/chown root:root ${XMSH_BIN_PATH}
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
    13
	/bin/chmod u+s ${XMSH_BIN_PATH}
e88b62deaec4 initial code
terom@yzzrt-hyper.lan
parents:
diff changeset
    14
	/bin/cp sshd_config ${XMSH_ETC_DIR}