init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
61
Telegram/ThirdParty/hime/Makefile
vendored
Normal file
61
Telegram/ThirdParty/hime/Makefile
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
include config.mak
|
||||
|
||||
VERSION_FILE = ChangeLog
|
||||
|
||||
DIRS = src data filter icons man menu scripts
|
||||
|
||||
ifeq ($(ECHO),)
|
||||
ECHO := $(shell whereis -b echo | awk '{print $$2}')
|
||||
ifeq ($(ECHO),)
|
||||
ECHO = echo
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(USE_I18N),Y)
|
||||
DIRS += po
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
@for d in $(DIRS); do $(ECHO) -e "\x1b[1;33m** processing $$d\x1b[0m"; \
|
||||
$(MAKE) -C $$d || exit 1; \
|
||||
done
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
@for d in $(DIRS); do $(ECHO) -e "\x1b[1;32m** installing $$d\x1b[0m"; \
|
||||
$(MAKE) -C $$d install || exit 1; \
|
||||
done
|
||||
install -d "$(DOC_DIR)"; \
|
||||
install -m 644 $(VERSION_FILE) "$(DOC_DIR)"
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
@for d in $(DIRS); do $(ECHO) -e "\x1b[1;32m** uninstalling $$d\x1b[0m"; \
|
||||
$(MAKE) -C $$d uninstall || exit 1; \
|
||||
done
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@touch src/.depend
|
||||
@for d in $(DIRS); do $(ECHO) -e "\x1b[1;31m** cleanup $$d\x1b[0m"; \
|
||||
$(MAKE) -C $$d clean; \
|
||||
done
|
||||
|
||||
.PHONY: distclean
|
||||
distclean:
|
||||
@$(MAKE) clean
|
||||
@rm -f config.mak
|
||||
|
||||
config.mak: $(VERSION_FILE) configure
|
||||
@$(ECHO) "regenerate $@ ..."
|
||||
./configure
|
||||
|
||||
.PHONY: clang-format
|
||||
clang-format:
|
||||
clang-format --version
|
||||
clang-format -i {src,data}/*.[ch] \
|
||||
src/{gtk-im,im-client,modules}/*.[ch] \
|
||||
src/qt5-im/*.h \
|
||||
src/qt5-im/*.cpp \
|
||||
--verbose
|
||||
Reference in New Issue
Block a user