Commits

A2K committed df724be

make deb target

Comments (0)

Files changed (1)

+
+VERSION=0.8.2
 
 RESOURCES = translations_rc.py resources_rc.py
 UIS = guicomponents/fillplaylist_qt.py \
 
 %_qt.py: %_qt.ui
 	pyuic4 $< | sed s/'import resources_rc'/'import vplayer.resources_rc'/ > $@
-	
+
 %.qm: %.ts
 	lrelease $< -qm $@
 
 	rm guicomponents/*.pyc
 	rm -rf build
 	rm -rf dist
+
+deb: all
+	python setup.py bdist
+	mkdir -p deb
+	tar xv -C deb -f dist/vplayer-$(VERSION).linux-i686.tar.gz
+	mkdir -p deb/usr/bin
+	mkdir -p deb/usr/share/pixmaps
+	mkdir -p deb/usr/share/applications
+	cp vplayer deb/usr/bin/vplayer
+	cp icon.svg icon.xpm icon.png deb/usr/share/pixmaps/
+	cp vplayer.desktop deb/usr/share/applications/
+	chmod 755 deb/usr/bin/vplayer
+	chmod 644 deb/usr/share/pixmaps/* deb/usr/share/applications/*
+	mkdir -p deb/DEBIAN
+	cp control deb/DEBIAN/
+	dpkg -b deb vplayer-$(VERSION).deb
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.