aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-08-28 03:18:22 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-08-28 03:18:22 +0200
commit6db6980e27bdde6f2d444dd3cdd7a46985fa84fc (patch)
tree4e471277f68582713a23e5b0cd2fc57959fac89a /Makefile
parentc56332857145d1c6741d4f6c1bbc87dcc6c6ab97 (diff)
downloadst-patched-6db6980e27bdde6f2d444dd3cdd7a46985fa84fc.tar.bz2
st-patched-6db6980e27bdde6f2d444dd3cdd7a46985fa84fc.tar.xz
st-patched-6db6980e27bdde6f2d444dd3cdd7a46985fa84fc.zip
st now runs on Linux, OpenBSD and FreeBSD.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9ec8d21..ef3bf09 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ all: options st
10 10
11options: 11options:
12 @echo st build options: 12 @echo st build options:
13 @echo "SYSTEM = ${SYSTEM}"
13 @echo "CFLAGS = ${CFLAGS}" 14 @echo "CFLAGS = ${CFLAGS}"
14 @echo "LDFLAGS = ${LDFLAGS}" 15 @echo "LDFLAGS = ${LDFLAGS}"
15 @echo "CC = ${CC}" 16 @echo "CC = ${CC}"
@@ -31,7 +32,7 @@ clean:
31dist: clean 32dist: clean
32 @echo creating dist tarball 33 @echo creating dist tarball
33 @mkdir -p st-${VERSION} 34 @mkdir -p st-${VERSION}
34 @cp -R LICENSE Makefile README config.mk st.h ${SRC} st-${VERSION} 35 @cp -R LICENSE Makefile README config.mk config.h st.info ${SRC} st-${VERSION}
35 @tar -cf st-${VERSION}.tar st-${VERSION} 36 @tar -cf st-${VERSION}.tar st-${VERSION}
36 @gzip st-${VERSION}.tar 37 @gzip st-${VERSION}.tar
37 @rm -rf st-${VERSION} 38 @rm -rf st-${VERSION}
@@ -41,7 +42,7 @@ install: all
41 @mkdir -p ${DESTDIR}${PREFIX}/bin 42 @mkdir -p ${DESTDIR}${PREFIX}/bin
42 @cp -f st ${DESTDIR}${PREFIX}/bin 43 @cp -f st ${DESTDIR}${PREFIX}/bin
43 @chmod 755 ${DESTDIR}${PREFIX}/bin/st 44 @chmod 755 ${DESTDIR}${PREFIX}/bin/st
44 @tic st.info 45 @tic -s st.info
45 46
46uninstall: 47uninstall:
47 @echo removing executable file from ${DESTDIR}${PREFIX}/bin 48 @echo removing executable file from ${DESTDIR}${PREFIX}/bin