Permalink
Browse files

add clean target, remove debian-build

git-svn-id: https://pyjamas.svn.sourceforge.net/svnroot/pyjamas/trunk@2046 7a2bd370-bda8-463c-979e-2900ccfb811e
  • Loading branch information...
lkcl
lkcl committed Oct 16, 2009
1 parent b691e56 commit a3ed92b7d1aa61f0ce9569d880028c622e152b64
Showing with 3 additions and 36 deletions.
  1. +3 −36 Makefile
  2. 0 examples/gwtcanvas/public/GWTCanvasDemo.css
View
@@ -1,12 +1,10 @@
VERSION=0.6
-DEBSUBVERSION=1
help:
@echo
@echo choose one of the following:
@echo " make local-build"
@echo " make system-install"
- @echo " make debian-build"
@echo
# 'sandbox' build - can be used locally.
@@ -19,37 +17,6 @@ system-install:
python bootstrap.py /usr/share/pyjamas /usr
python run_bootstrap_first_then_setup.py install
-# stoopid stoopid debianism requires a diff file, otherwise
-# lintian complains. put everything here to make builds be
-# happy, by creating a .orig.tar.gz that _doesn't_ have
-# the debian/ directory in it, then manually copy it
-# over, to build it. much joy.
-debian-build:
- mkdir -p deb/pyjamas-${VERSION}
- tar -cvzf deb/pyjamas_$(VERSION).orig.tar.gz \
- --exclude=debian \
- --exclude=./deb \
- --exclude=output \
- --exclude=PureMVC_Python* \
- --exclude=build \
- --exclude=./bin \
- --exclude=fckeditor \
- --exclude=*.pyc \
- --exclude=.git* \
- --exclude=.svn* \
- --exclude=*.rej \
- --exclude=*.orig \
- --exclude=.*.sw? \
- --exclude=deb \
- .
- tar -C deb/pyjamas-${VERSION} -xvzf deb/pyjamas_$(VERSION).orig.tar.gz
- cp -aux debian deb/pyjamas-${VERSION}
- cd deb/pyjamas-${VERSION} && dpkg-buildpackage -rfakeroot
- cd deb && lintian -I pyjamas_${VERSION}-${DEBSUBVERSION}_all.deb
- cd deb && lintian -I pyjamas-desktop_${VERSION}-${DEBSUBVERSION}_all.deb
- cd deb && lintian -I pyjamas-doc_${VERSION}-${DEBSUBVERSION}_all.deb
- cd deb && lintian -I pyjamas-ui_${VERSION}-${DEBSUBVERSION}_all.deb
- cd deb && lintian -I pyjamas_${VERSION}-${DEBSUBVERSION}.dsc
- cd deb && lintian -I pyjamas-gchart_${VERSION}-${DEBSUBVERSION}_all.deb
-# cd deb && lintian -l pyjamas-pygtkweb_${VERSION}-${DEBSUBVERSION}_all.deb
-
+clean:
+ rm -rf bin build
+ rm -f pyjd/__init__.py
View
No changes.

0 comments on commit a3ed92b

Please sign in to comment.