mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 20:33:46 +01:00
2754798c73
With this commit Zathura gains PDF refered functionality and therefore several shortcuts and commands Added following functionality: * Open PDF file (via command or argument) * Scroll on the current page * Thumb through the PDF file * Rotate PDF page * Zoom in and out In progess: * Search PDF * Better notification system
32 lines
703 B
Makefile
32 lines
703 B
Makefile
LIBS = gtk+-2.0 poppler poppler-glib
|
|
FLAGS = `pkg-config --cflags --libs $(LIBS)`
|
|
SOURCE = zathura.c
|
|
TARGET = zathura
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): zathura.c config.h
|
|
gcc $(FLAGS) -Wall -o $(TARGET) $(SOURCE)
|
|
|
|
clean:
|
|
rm -f $(TARGET)
|
|
|
|
debug: $(TARGET)
|
|
gcc $(FLAGS) -Wall -o $(TARGET) $(SOURCE) -g
|
|
|
|
valgrind: debug $(TARGET)
|
|
valgrind --tool=memcheck --leak-check=yes --show-reachable=yes ./${TARGET}
|
|
|
|
scrollbars: $(TARGET)
|
|
gcc $(FLAGS) -Wall -o $(TARGET) $(SOURCE) -DSHOW_SCROLLBARS
|
|
|
|
install: all
|
|
@echo installing executeable to /usr/bin
|
|
@mkdir -p /usr/bin
|
|
@cp -f ${TARGET} /usr/bin
|
|
@chmod 755 /usr/bin/${TARGET}
|
|
|
|
uninstall:
|
|
@echo removing executeable from /usr/bin
|
|
@rm -f /usr/bin/${TARGET}
|