forked from F5Networks/f5-icontrol-rest-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (31 loc) · 660 Bytes
/
Makefile
File metadata and controls
37 lines (31 loc) · 660 Bytes
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
36
37
PROJECT_DIR := $(shell pwd)
VERSION := $(shell cat VERSION|tr -d '\n';)
RELEASE := $(shell cat RELEASE|tr -d '\n';)
default: source
source:
(python setup.py sdist; \
rm -rf MANIFEST; \
)
clean: clean-debs clean-rpms clean-source
rm -rf *.egg-info *~
clean-debs:
find . -name "*.pyc" -exec rm -rf {} \;
rm -f MANIFEST
rm -f build/f5-bigip-common_*.deb
( \
rm -rf deb_dist; \
rm -rf build; \
)
clean-rpms:
find . -name "*.pyc" -exec rm -rf {} \;
rm -f MANIFEST
rm -rf f5-bigip-common*
rm -f build/f5-bigip-common-*.rpm
( \
rm -rf dist; \
rm -rf build; \
)
clean-source:
rm -rf build/*.tar.gz
rm -rf common/*.tar.gz
rm -rf common/dist