rename to termite
This commit is contained in:
		
							parent
							
								
									75ec07933f
								
							
						
					
					
						commit
						0a8725bf35
					
				
							
								
								
									
										10
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
									
									
									
									
								
							@ -10,15 +10,15 @@ CFLAGS += -std=c99 -O3 \
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
LDFLAGS += -s -Wl,--as-needed $(shell pkg-config --libs gtk+-2.0 vte)
 | 
					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}
 | 
						${CC} ${CFLAGS} -o $@ $< ${LDFLAGS}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install: term
 | 
					install: termite
 | 
				
			||||||
	mkdir -p ${DESTDIR}${PREFIX}/bin
 | 
						mkdir -p ${DESTDIR}${PREFIX}/bin
 | 
				
			||||||
	cp -f term ${DESTDIR}${PREFIX}/bin
 | 
						cp -f termite ${DESTDIR}${PREFIX}/bin
 | 
				
			||||||
	chmod 755 ${DESTDIR}${PREFIX}/bin/term
 | 
						chmod 755 ${DESTDIR}${PREFIX}/bin/termite
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uninstall:
 | 
					uninstall:
 | 
				
			||||||
	rm -f ${DESTDIR}${PREFIX}/bin/term
 | 
						rm -f ${DESTDIR}${PREFIX}/bin/termite
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.PHONY: install uninstall
 | 
					.PHONY: install uninstall
 | 
				
			||||||
 | 
				
			|||||||
@ -139,7 +139,7 @@ static void beep_handler(__attribute__((unused)) VteTerminal *vte, GtkWidget *wi
 | 
				
			|||||||
#ifdef DYNAMIC_TITLE
 | 
					#ifdef DYNAMIC_TITLE
 | 
				
			||||||
static void window_title_cb(VteTerminal *vte, GtkWindow *window) {
 | 
					static void window_title_cb(VteTerminal *vte, GtkWindow *window) {
 | 
				
			||||||
    const char *t = vte_terminal_get_window_title(vte);
 | 
					    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
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user