1 Star 1 Fork 1

hzjnet/openwrt-from-coccinelle

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile.dev 2.38 KB
一键复制 编辑 原始数据 按行查看 历史
julia 提交于 2017-06-09 15:35 . typos
# 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"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hzjnet/coccinelle-openwrt.git
[email protected]:hzjnet/coccinelle-openwrt.git
hzjnet
coccinelle-openwrt
openwrt-from-coccinelle
master

搜索帮助