diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2014-06-09 22:01:43 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2014-06-09 22:01:43 -0300 |
commit | ea034547ca5666f97118f23c414399ca2f9aa28d (patch) | |
tree | 11b9db69d2a1e813408f74f3d21f832b6ef2cfe1 | |
parent | 9e94e424214fec83f49e3432662b76d9da7bb490 (diff) |
Commented ununsed variable line. Small fixes to Makefile.
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | src/T.c | 2 |
2 files changed, 6 insertions, 3 deletions
@@ -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 @@ -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) |