This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2010-06-09 12:00:00 +02:00
|
|
|
# Basic makefile for project packages building and uploading
|
|
|
|
PACKAGE=`head -n1 debian/changelog | sed 's/\(^[a-z-]*\).*/\1/'`
|
|
|
|
VERSION=`head -n1 debian/changelog | sed 's/.*(\(.*\)).*/\1/'`
|
2010-06-10 12:02:25 +02:00
|
|
|
MAINTAINER=`grep Maintainer debian/control | sed 's/Maintainer: //'`
|
|
|
|
DISTRIBUTION=`head -n1 debian/changelog | sed 's/.* \([a-z-]*\);.*/\1/'`
|
2010-06-09 12:00:00 +02:00
|
|
|
|
|
|
|
.PHONY: package upload
|
|
|
|
|
|
|
|
package:
|
|
|
|
git diff --quiet >/dev/null || false
|
|
|
|
lenny env DEBEMAIL="\"$(MAINTAINER)\"" debchange -i -D $(DISTRIBUTION) --force-distribution $(DEBCHANGE)
|
|
|
|
echo $(VERSION)
|
|
|
|
read e
|
|
|
|
git commit debian/changelog -m 'Update changelog'
|
|
|
|
lenny debuild -I.git
|
|
|
|
make upload
|
|
|
|
|
|
|
|
upload:
|
2010-06-10 12:04:15 +02:00
|
|
|
dput lupin-$(DISTRIBUTION) ../$(PACKAGE)_$(VERSION)_*.changes
|
2010-12-01 14:30:12 +01:00
|
|
|
git push origin
|
2010-11-30 10:13:08 +01:00
|
|
|
|
2010-12-17 16:54:01 +01:00
|
|
|
ifef.zip: theme/ifef/*
|
|
|
|
cd theme; zip -r ../ifef ifef
|
|
|
|
|
|
|
|
centreressources.zip: theme/centreressources/*
|
|
|
|
cd theme; zip -r ../centreressources centreressources
|
2010-11-30 10:13:08 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f ifef.zip
|