Skip to content

Commit d0d2e4e

Browse files
committed
Merge branch 'plugins'
2 parents 2f1ae71 + beabb78 commit d0d2e4e

File tree

11 files changed

+600
-3
lines changed

11 files changed

+600
-3
lines changed

common-py.mk

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1-
build:
1+
ifndef SCRIPT_SRCDIR
2+
SCRIPT_SRCDIR := $(CURDIR)
3+
endif
24

3-
install:
4-
install -m 755 $(SCRIPT) $(DESTDIR)$(PLUGINBINDIR)
5+
build: $(SCRIPT:%=$(SCRIPT_SRCDIR)/%c)
6+
7+
$(SCRIPT_SRCDIR)/%c: $(SCRIPT_SRCDIR)/%
8+
pycompile $*
9+
10+
11+
install: $(SCRIPT:%=$(DESTDIR)$(PLUGINSCRIPTDIR)/%)
12+
13+
$(DESTDIR)$(PLUGINSCRIPTDIR)/%: $(SCRIPT_SRCDIR)/%
14+
if ! test -d $(DESTDIR)$(PLUGINSCRIPTDIR); then \
15+
install -d -m 755 $(DESTDIR)$(PLUGINSCRIPTDIR) ;\
16+
fi
17+
install -m 755 $(SCRIPT_SRCDIR)/$* $@
18+
19+
clean:
20+
rm -f $(SCRIPT_SRCDIR)/*.pyc
521

622
.PHONY: build install

ez-perspective/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SCRIPT = ez-perspective.py
2+
3+
include ../common-py.mk
4+

ez-perspective/copyright

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
By Nils R. Barth, 2010 June 28, Portland, OR, USA
2+
3+
I dedicate this program to the Public Domain, and claim no rights to it.
4+
5+
Formally, under the Creative Commons CC0 license:
6+
7+
To the extent possible under law, I, Nils Roland Barth have waived all
8+
copyright and related or neighboring rights to this program.
9+
This work is published from the United States of America.
10+

ez-perspective/description

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* EZ Perspective:
2+
Specialized tool for easily correcting or changing perspective.

0 commit comments

Comments
 (0)