Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0303ed

Browse files
committed
Update Makefile
1 parent05dad38 commitc0303ed

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

‎Makefile

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ PYLAMA = $(LIBS)/pylama
44

55
.PHONY: clean
66
clean:
7-
find. -name"*.pyc" -delete
7+
find$(CURDIR) -name"*.pyc" -delete
8+
rm -rf$(CURDIR)/build
9+
rm -rf*.deb
810

911
# Temporary disable rope tests on Travis
1012
.PHONY: travis
@@ -29,3 +31,37 @@ $(PYLAMA):
2931

3032
$(PYLAMA)/lint/pylama_pylint:
3133
cp -r~/Dropbox/projects/pylama/plugins/pylama_pylint/pylama_pylint/$(PYLAMA)/lint/pylama_pylint
34+
35+
$(CURDIR)/build:
36+
mkdir -p$(CURDIR)/build/usr/share/vim/addons
37+
mkdir -p$(CURDIR)/build/usr/share/vim/registry
38+
cp -r after autoload doc ftplugin plugin pymode syntax$(CURDIR)/build/usr/share/vim/addons/.
39+
cp -r python-mode.yaml$(CURDIR)/build/usr/share/vim/registry/.
40+
41+
TARGET?=$(CURDIR)/deb
42+
PACKAGE_VERSION?=$(shell git describe --tags `git rev-list master --tags --max-count=1`)
43+
PACKAGE_NAME="vim-python-mode"
44+
PACKAGE_MAINTAINER="Kirill Klenov <horneds@gmail.com>"
45+
PACKAGE_URL=http://github.com/klen/python-mode
46+
deb: clean$(CURDIR)/build
47+
@git co gh-pages
48+
@fpm -s dir -t deb -a all\
49+
-n$(PACKAGE_NAME)\
50+
-v$(PACKAGE_VERSION)\
51+
-m$(PACKAGE_MAINTAINER)\
52+
--url$(PACKAGE_URL)\
53+
--license"GNU lesser general public license"\
54+
--description"Vim-Swissknife for python"\
55+
--deb-user root\
56+
--deb-group root\
57+
-C$(CURDIR)/build\
58+
-d"python2.7"\
59+
-d"vim-addon-manager"\
60+
usr
61+
@mkdir -p$(TARGET)
62+
@prm --type deb --path$(TARGET)\
63+
--release precise\
64+
--arch amd64,i386,all\
65+
--component main\
66+
--directory$(CURDIR)\
67+
--gpg horneds@gmail.com

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp