-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
35 lines (30 loc) · 991 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# To use this Makefile, get a copy of my SF Release Tools
# git clone git://git.code.sf.net/p/sfreleasetools/code sfreleasetools
# And point the environment variable RELEASETOOLS to the checkout
PNAME=antenna-optimizer
PYNAME=antenna_optimizer
ifeq (,${RELEASETOOLS})
RELEASETOOLS=../releasetools
endif
LASTRELEASE:=$(shell $(RELEASETOOLS)/lastrelease -n)
PYF=antenna_model.py coaxmodel.py folded_3ele.py folded_bc.py \
folded_bigrefl.py folded.py hb9cv.py logper.py statstool.py tl.py \
transmission.py
VERSIONPY=$(PYNAME)/Version.py
VERSION=$(VERSIONPY)
README=README.rst
SRC=Makefile setup.py $(PYF:%.py=$(PYNAME)/%.py) \
MANIFEST.in $(README) README.html
USERNAME=schlatterbeck
PROJECT=$(PNAME)
PACKAGE=$(PNAME)
CHANGES=changes
NOTES=notes
all: $(VERSION)
$(VERSION): $(SRC)
clean:
rm -f $(PYNAME)/Version.py default.css \
README.aux README.dvi README.log README.out \
README.tex
rm -rf $(CLEAN)
include $(RELEASETOOLS)/Makefile-pyrelease