代码拉取完成,页面将自动刷新
# This file is part of Coccinelle, licensed under the terms of the GPL v2.
# See copyright.txt in the Coccinelle source code for more information.
# The Coccinelle source code can be obtained at http://coccinelle.lip6.fr
##############################################################################
# Website targets
##############################################################################
WEBBASE=~/website
WEBSITE=$(WEBBASE)/distrib
website:
cp $(TMP)/$(PACKAGE).tgz $(WEBSITE)
cp $(TMP)/$(PACKAGE)-bin-x86.tgz $(WEBSITE)
# cp $(TMP)/$(PACKAGE)-bin-x86-static.tgz $(WEBSITE)
cp $(TMP)/$(PACKAGE)-bin-x86-python.tgz $(WEBSITE)
cp $(TMP)/$(PACKAGE)-bin-bytecode-$(OCAMLVERSION).tgz $(WEBSITE)
cp $(TMP)/$(PACKAGE)-bin-bytecode-$(OCAMLVERSION)-python.tgz $(WEBSITE)
cd $(WEBSITE); svn add $(PACKAGE).tgz \
$(PACKAGE)-bin-x86.tgz \
$(PACKAGE)-bin-x86-python.tgz \
$(PACKAGE)-bin-bytecode-$(OCAMLVERSION).tgz \
$(PACKAGE)-bin-bytecode-$(OCAMLVERSION)-python.tgz
# $(PACKAGE)-bin-x86-static.tgz
$(MAKE) -C docs/manual WEBBASE=$(WEBBASE) install
@echo "\nYou need to manually update those files:\n"
@echo "\t$(WEBBASE)/download.php"
@echo "\t$(WEBSITE)/change.html\n"
@echo "Then commit the changes.\n"
# rm -f $(WEBSITE)/LATEST* $(WEBSITE)/coccinelle-latest.tgz
# cp changes.txt $(WEBSITE)/changes-$(VERSION).txt
# cd $(WEBSITE); touch LATEST_IS_$(VERSION); ln -s $(PACKAGE).tgz coccinelle-latest.tgz
# cp readme.txt $(WEBSITE)
##############################################################################
# Targets to update PPA
##############################################################################
# precise - 12.04
# saucy - 13.10
# trusty - 14.04
BRANCH=$(shell git symbolic-ref --short -q HEAD | sed 's|ubuntu/||')
RELEASE=$(shell echo $(BRANCH) | cut -f1 -d'-')
CODENAME=$(shell echo $(BRANCH) | cut -f2 -d'-')
IDX?=1
.PHONY:: ubuntu
ubuntu:
@echo "Preparing package for Ubuntu $(CODENAME) - $(RELEASE)"
if [ ! -f debian/changelog ] ; then \
debchange --create -c debian/changelog -D $(CODENAME) --package $(PRJNAME) \
-v $(VERSION)~$(RELEASE)npalix$(IDX) "New release $(VERSION)"; \
else \
debchange -c debian/changelog -D $(CODENAME) \
-v $(VERSION)~$(RELEASE)npalix$(IDX) "New release $(VERSION)"; \
fi
@echo "\nYou can now build the Ubuntu source package with\n"
@echo "\tmake packsrc\n"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。