diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-28 03:18:22 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-28 03:18:22 +0200 |
commit | 6db6980e27bdde6f2d444dd3cdd7a46985fa84fc (patch) | |
tree | 4e471277f68582713a23e5b0cd2fc57959fac89a /Makefile | |
parent | c56332857145d1c6741d4f6c1bbc87dcc6c6ab97 (diff) | |
download | st-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-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,6 +10,7 @@ all: options st | |||
10 | 10 | ||
11 | options: | 11 | options: |
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: | |||
31 | dist: clean | 32 | dist: 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 | ||
46 | uninstall: | 47 | uninstall: |
47 | @echo removing executable file from ${DESTDIR}${PREFIX}/bin | 48 | @echo removing executable file from ${DESTDIR}${PREFIX}/bin |