forked from Freeseer/freeseer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
52 lines (41 loc) · 1.41 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# For support, questions, suggestions or any other inquiries, visit:
# http://wiki.github.com/Freeseer/freeseer/
# This makefile generates the python code for the gui
# from an XML definition file
# Set the name of the executable here
exec = src/freeseer-record
ALL:
cd src; make ALL
@echo "You can now run $(exec)"
clean:
cd src; make clean
test: ALL
cd src; make test
# create RPM package
rpm: setup.py ALL
python setup.py bdist_rpm --group="Sound and Video" --requires=python-feedparser,gstreamer,gstreamer-python,PyQt4
# create python egg
egg: setup.py ALL
python setup.py bdist_egg
# create deb package
deb: ALL
cd ..
bin/pkg_deb.sh
# create windows installer
win: setup.py ALL
python setup.py bdist_wininst
# create a source tarfile
src: setup.py ALL
python setup.py sdist