Add a logo and fix dist building.
This commit is contained in:
parent
edb528dc88
commit
3362ea86a9
|
@ -0,0 +1,20 @@
|
||||||
|
:: Build patool
|
||||||
|
:: Copyright (C) 2012 Bastian Kleineidam
|
||||||
|
:: 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 2 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, write to the Free Software Foundation, Inc.,
|
||||||
|
:: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@echo off
|
||||||
|
:: Python version
|
||||||
|
set PYDIR=C:\Python27
|
||||||
|
set PYVER=2.7
|
||||||
|
%PYDIR%\python.exe setup.py build
|
|
@ -1,5 +1,5 @@
|
||||||
:: Create patool Windows distribution file
|
:: Create patool Windows distribution file
|
||||||
:: Copyright (C) 2010 Bastian Kleineidam
|
:: Copyright (C) 2010-2012 Bastian Kleineidam
|
||||||
:: This program is free software: you can redistribute it and/or modify
|
:: 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
|
:: it under the terms of the GNU General Public License as published by
|
||||||
:: the Free Software Foundation, either version 3 of the License, or
|
:: the Free Software Foundation, either version 3 of the License, or
|
||||||
|
@ -14,7 +14,8 @@
|
||||||
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
@echo off
|
@echo off
|
||||||
set PYDIR=c:\python27
|
set PYDIR=c:\python27
|
||||||
rd build /s /q
|
rd /s /q build > nul
|
||||||
rd dist /s /q
|
call %~dp0\build.bat
|
||||||
%PYDIR%\python.exe setup.py bdist_wininst
|
rd /s /q dist > nul
|
||||||
|
%PYDIR%\python.exe setup.py py2exe
|
||||||
pause
|
pause
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
OXYGEN := ${HOME}/src/oxygen-gitsvn
|
||||||
|
ICOICONS := logo16x16.png logo32x32.png
|
||||||
|
|
||||||
|
all: favicon.ico
|
||||||
|
|
||||||
|
logo%.png: $(OXYGEN)/%/apps/utilities-file-archiver.png
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
|
favicon.ico: $(ICOICONS)
|
||||||
|
png2ico favicon.ico $(ICOICONS)
|
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 528 B |
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Loading…
Reference in New Issue