gforge_*.dsc
gforge_*.tar.gz
+gforge_*.orig.tar.gz
+gforge_*.diff.gz
gforge_*.build
gforge_*_source.changes
-DISTDEBIAN=$(shell grep -qi Debian /etc/issue && echo deb)
-DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rpm)
-DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rpm)
+DISTDEBIAN=$(shell grep -qi Debian /etc/issue && echo debian)
+DISTREDHAT=$(shell grep -qi 'Red Hat' /etc/issue && echo rh)
+DISTSUSE=$(shell grep -qi 'SuSE' /etc/issue && echo rh)
DIST=$(DISTDEBIAN)$(DISTREDHAT)$(DISTSUSE)
switch:
@echo "=========================================================================="
@make -f Makefile.$(DIST)
-all:
- @make -f Makefile.$(DIST) all
-clean:
- @make -f Makefile.$(DIST) clean
-cleanor:
- @make -f Makefile.$(DIST) cleanor
-chris:
- @make -f Makefile.$(DIST) chris
-chriss:
- @make -f Makefile.$(DIST) chriss
-chrisc:
- @make -f Makefile.$(DIST) chrisc
+%:
+ @make -f Makefile.$(DIST) $@
+#! /usr/bin/make -f
+
list:
@echo ======================================================================================
@echo '= Available target are listed below ='
@echo '= Today only to build debian pakages and orig tarballs ='
@echo ======================================================================================
- @cat Makefile.deb | grep '^.*:.*#$$' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
+ @cat Makefile.debian | grep '^.*:.*#$$' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
all: allgf # Build gforge #
clean: cleangf # Clean gforge #
@rm -f gforge*.deb sourceforge*.deb gforge*.changes gforge*.upload gforge*.build gforge*.dsc gforge*[^g].tar.gz gforge*.diff.gz gforge*.asc
@echo cleangf Done
build: # Build debian gforge packages #
- cd gforge ; debclean; $(dchcmd) ;find . -type f | grep -v '/CVS/' | grep -v '/.svn/' | grep -v rpm-specific | grep -v contrib | grep -v docs/phpdoc/docs | cpio -pdumvB ../gforge-$(gfversion)
+ cd gforge ; debclean; $(dchcmd) ; find . -type f -or -type l | grep -v '/CVS/' | grep -v '/.svn/' | grep -v rpm-specific | grep -v docs/phpdoc/docs | cpio -pdumvB ../gforge-$(gfversion)
cd gforge-$(gfversion); debuild $(debuildopts); fakeroot debian/rules clean
rm -rf gforge-$(gfversion)
upload: # Upload gforge packages on where=<server> using dput #
orig: gforge_$(gfversion).orig.tar.gz # Make gforge orig file #
gforge_$(gfversion).orig.tar.gz:
- cd gforge ; debclean; find . -type f | grep -v '/CVS/' | grep -v '/.svn/' | grep -v rpm-specific | grep -v contrib | grep -v docs/phpdoc/docs | cpio -pdumvB ../gforge-$(gfversion)
+ cd gforge ; debclean; find . -type f -or -type l | grep -v '/CVS/' | grep -v '/.svn/' | grep -v rpm-specific | grep -v docs/phpdoc/docs | cpio -pdumvB ../gforge-$(gfversion)
tar cvzf gforge_$(gfversion).orig.tar.gz gforge-$(gfversion)
rm -rf gforge-$(gfversion)
#
# Developper personal use
#
chris:
- make -f Makefile.deb allgf dchcmd="dch -i" debuildopts=""
- make -f Makefile.deb upload where=localgforge
+ make -f Makefile.debian allgf dchcmd="dch -i" debuildopts=""
+ make -f Makefile.debian upload where=localgforge
+#! /usr/bin/make -f
+
list:
@echo ======================================================================================
@echo '= Available target are listed below ='
@echo '= Today only to build rpm packages and tarballs ='
@echo ======================================================================================
- @cat Makefile.rpm | grep '^.*:.*#$$' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
+ @cat Makefile.rh | grep '^.*:.*#$$' | sed 's/^\(.*:\).*#\(.*\)#$$/\1 \2/'
#Do it all
all: gforge allplugins dist # Build gforge and plugins #
+gforge (4.6.99+svn6070-2) experimental; urgency=low
+
+ * Re-add an empty gforge-web-apache package for the transition to
+ apache2.
+ * Generate *.mo at build-time.
+
+ -- Roland Mas <lolando@debian.org> Sun, 26 Aug 2007 14:35:32 +0200
+
gforge (4.6.99+svn6070-1) experimental; urgency=low
* SVN snapshot (based on revision 6070, with packaging patches). Don't
Maintainer: Roland Mas <lolando@debian.org>
Uploaders: Christian Bayle <bayle@debian.org>
Build-Depends-Indep: sharutils, docbook-to-man, devscripts
-Build-Depends: debhelper (>= 4.1.16), dpatch, perl
+Build-Depends: debhelper (>= 4.1.16), dpatch, perl, gettext
Standards-Version: 3.7.2
Package: gforge
This package contains the files needed to run the web part of
Gforge on an Apache webserver.
+Package: gforge-web-apache
+Architecture: all
+Depends: gforge-web-apache2
+Provides: gforge-web
+Conflicts: gforge-web
+Description: transition package to gforge-web-apache2
+ This package exists only as a means to make transitions to apache2
+ easier. You can safely uninstall it.
+
Package: gforge-db-postgresql
Architecture: all
Depends: gforge-common, postgresql-8.2 | postgresql, perl, libdbi-perl, libdbd-pg-perl, libmime-base64-perl, libhtml-parser-perl, libtext-autoformat-perl, libmail-sendmail-perl, debianutils (>= 1.7), debconf (>= 1.0.32) | debconf-2.0, php5-cli
# Uudecode binary files
sh $(CURDIR)/deb-specific/manage-uufiles.sh decode
+ # Build gettext *.mo files
+ for l in eu bg ca zh_TW nl en eo fr de el he id it ja ko la nb pl pt_BR pt ru zh_CN es sv th ; do mkdir -p locales/$$l/LC_MESSAGES && msgfmt -o locales/$$l/LC_MESSAGES/gforge.mo translations/$$l.po ; done
+
touch build-stamp
clean: remove-binary-files unpatch
rm -f build-stamp configure-stamp
rm -f cvssh.1 gforge-config.1
+ rm -rf locales/*
+
perl $(CURDIR)/deb-specific/dsf-helper.pl --clean
dh_clean