aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2014-08-10 02:15:53 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2014-08-10 02:15:53 -0300
commit8985ad08f87e969b546672664b868d027a0bc006 (patch)
tree716160993773f5a4c37364fc9ab4d80dbb5b81f4 /Makefile
parent183eda55bc4151f1c0b9de00f7e76b949bd0e507 (diff)
parent6541a7c3579c204e8613d9a57fdd9050478281c6 (diff)
Merge branch 'master' of bitbucket.org:fadel/t
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6f1ad27..3b0eb6a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-PREFIX = /usr
+DESTDIR = /
+PREFIX = usr
INCS = `pkg-config --cflags gtk+-2.0 vte`
LIBS = `pkg-config --libs gtk+-2.0 vte`
@@ -26,7 +27,7 @@ clean:
@echo cleaning
@rm -f T ${OBJ} T-${VER}.tar.bz2
-dist: PKGBUILD
+dist: clean
@echo creating distributable tarball
@mkdir T-${VER}
@cp -R src/ T.desktop Makefile T-${VER}
@@ -38,3 +39,5 @@ install: all
@install -D -m755 T ${DESTDIR}${PREFIX}/bin/T
@echo installing desktop file in ${DESTDIR}${PREFIX}/share/applications
@install -D -m644 T.desktop ${DESTDIR}${PREFIX}/share/applications/T.desktop
+
+.PHONY: all clean dist install