1 Star 0 Fork 0

deeyi / jhbuild

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile.plain 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
PACKAGE = jhbuild
VERSION = 0.1
CC ?= cc
CFLAGS ?= -Wall -O2
MAKE ?= make
-include Makefile.inc
all: include-check
@echo 'Run "make install" to install.'
include-check:
@test -f Makefile.inc || \
(echo "Makefile.inc doesn't exist. Please run autogen.sh"; exit 1)
update:
git pull --rebase
@if [ "x$(DISABLE_GETTEXT)" = x ]; then (cd po && $(MAKE) -f Makefile.plain); fi
install: include-check
@if [ "x$(DISABLE_GETTEXT)" = x ]; then (cd po && $(MAKE) -f Makefile.plain install); fi
@echo "Creating $(bindir)/jhbuild"
@mkdir -p $(bindir)
@sed -e "s,@jhbuilddir@,`pwd`,g" \
-e "s,@python@,$(python),g" \
-e "s,USE_CHECKOUT_SRC = False,USE_CHECKOUT_SRC = True," < \
scripts/jhbuild.in > $(bindir)/jhbuild
@chmod a+x $(bindir)/jhbuild
@echo "Creating $(desktopdir)/jhbuild.desktop"
@mkdir -p $(desktopdir)
@sed "s,^_,,g;s,^Exec=.*$$,Exec=$(bindir)/jhbuild gui,;s,^X-GNOME-Bugzilla-Version=.*$$,," \
< jhbuild.desktop.in.in > $(desktopdir)/jhbuild.desktop
# if ~/bin/jbuild exists, it is most likely an old version, and it will
# not work; so rename it and install a symlink to the new version
# instead.
# (This comment is intentionally not indented, otherwise make prints it)
@if [ -e "$(HOME)/bin/jhbuild" ] && [ ! $(bindir) -ef $(HOME)/bin ]; then \
mv "$(HOME)/bin/jhbuild" "$(HOME)/bin/jhbuild.old" ; \
ln -s $(bindir)/jhbuild "$(HOME)/bin/jhbuild" ; \
fi
.PHONY: all update install
1
https://gitee.com/deeyi2000/jhbuild.git
git@gitee.com:deeyi2000/jhbuild.git
deeyi2000
jhbuild
jhbuild
master

搜索帮助