diff --git a/Makefile b/Makefile index 6f65200..77089d1 100644 --- a/Makefile +++ b/Makefile @@ -10,15 +10,15 @@ CFLAGS += -std=c99 -O3 \ LDFLAGS += -s -Wl,--as-needed $(shell pkg-config --libs gtk+-2.0 vte) -term: term.c config.h +termite: termite.c config.h ${CC} ${CFLAGS} -o $@ $< ${LDFLAGS} -install: term +install: termite mkdir -p ${DESTDIR}${PREFIX}/bin - cp -f term ${DESTDIR}${PREFIX}/bin - chmod 755 ${DESTDIR}${PREFIX}/bin/term + cp -f termite ${DESTDIR}${PREFIX}/bin + chmod 755 ${DESTDIR}${PREFIX}/bin/termite uninstall: - rm -f ${DESTDIR}${PREFIX}/bin/term + rm -f ${DESTDIR}${PREFIX}/bin/termite .PHONY: install uninstall diff --git a/term.c b/termite.c similarity index 99% rename from term.c rename to termite.c index f4b9cd1..086e457 100644 --- a/term.c +++ b/termite.c @@ -139,7 +139,7 @@ static void beep_handler(__attribute__((unused)) VteTerminal *vte, GtkWidget *wi #ifdef DYNAMIC_TITLE static void window_title_cb(VteTerminal *vte, GtkWindow *window) { const char *t = vte_terminal_get_window_title(vte); - gtk_window_set_title(window, t ? t : "term"); + gtk_window_set_title(window, t ? t : "termite"); } #endif