mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 01:24:39 +01:00
Add explicit po target and don't update po file all the time.
This commit is contained in:
parent
3db0550f49
commit
dfd2f5bec7
1 changed files with 8 additions and 5 deletions
9
Makefile
9
Makefile
|
@ -18,7 +18,6 @@ OBJECTS = $(patsubst %.c, %.o, $(SOURCE))
|
|||
DOBJECTS = $(patsubst %.c, %.do, $(SOURCE))
|
||||
|
||||
all: options ${PROJECT}
|
||||
$(QUIET)${MAKE} -C po
|
||||
|
||||
options:
|
||||
@echo ${PROJECT} build options:
|
||||
|
@ -106,7 +105,10 @@ gcov: clean
|
|||
$(QUIET)lcov --directory . --capture --output-file $(PROJECT).info
|
||||
$(QUIET)genhtml --output-directory gcov $(PROJECT).info
|
||||
|
||||
install: all ${PROJECT}.pc
|
||||
po:
|
||||
$(QUIET)${MAKE} -C po
|
||||
|
||||
install: all ${PROJECT}.pc po
|
||||
$(ECHO) installing executable file
|
||||
$(QUIET)mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||
$(QUIET)install -m 755 ${PROJECT} ${DESTDIR}${PREFIX}/bin
|
||||
|
@ -150,4 +152,5 @@ uninstall:
|
|||
|
||||
-include $(wildcard .depend/*.dep)
|
||||
|
||||
.PHONY: all options clean doc debug valgrind gdb dist doc install uninstall test
|
||||
.PHONY: all options clean doc debug valgrind gdb dist doc install uninstall test \
|
||||
po
|
||||
|
|
Loading…
Add table
Reference in a new issue