aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2014-06-09 22:01:43 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2014-06-09 22:01:43 -0300
commitea034547ca5666f97118f23c414399ca2f9aa28d (patch)
tree11b9db69d2a1e813408f74f3d21f832b6ef2cfe1
parent9e94e424214fec83f49e3432662b76d9da7bb490 (diff)
Commented ununsed variable line. Small fixes to Makefile.
-rw-r--r--Makefile7
-rw-r--r--src/T.c2
2 files changed, 6 insertions, 3 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
diff --git a/src/T.c b/src/T.c
index e06265a..fd1859e 100644
--- a/src/T.c
+++ b/src/T.c
@@ -61,7 +61,7 @@ static gboolean
terminal_key_press_callback(GtkWidget *widget, GdkEvent *event, gpointer data)
{
GdkEventKey *key_event = (GdkEventKey *) event;
- VteTerminal *terminal = (VteTerminal *) widget;
+ /* VteTerminal *terminal = (VteTerminal *) widget; */
if ((key_event->state & GDK_SHIFT_MASK) == 0
|| (key_event->state & GDK_CONTROL_MASK) == 0)