DEBIANLISTP=1etch
DEBLIST=$(DEBIANLIST) $(DEBIANLISTP)
UBUNTULIST=1hardy 1intrepid 1jaunty 1karmic
-UBUNTULIST=1karmic 1lucid
+UBUNTULIST=1jaunty 1karmic 1lucid
UBUNTULISTP=1gutsy
UBULIST=$(UBUNTULIST) $(UBUNTULISTP)
# Try if a local mirror is available
LOCALMIRROR=http://localhost/ubuntu
UBUNTUOP=$(shell wget -q -S http://localhost/ubuntu -O /dev/null 2>&1 && echo "--mirror $(LOCALMIRROR)" || echo "--mirror http://archive.ubuntu.com/ubuntu") --debootstrap debootstrap
-DEBIANOP=--debootstrapopts --include=apt
+UBUNTUOP=--mirror http://archive.ubuntu.com/ubuntu --debootstrap debootstrap
+DEBIANOP=--debootstrapopts --include=apt --debootstrap debootstrap
+ASKPASS=--ask-passphrase
+ASKPASS=
MAJOR=$(shell head -1 $(PKGDIR)/debian/changelog | sed 's/.*(\(.*\)-[^-]*).*/\1/')
in_svn_repo:= $(wildcard .svn/)
# Get phpdocumentor, install phpdocumentor, build $(PKGNAME) phpdoc
phpdoc: $(PKGDIR)/docs/phpdoc/docs
+doc:
+ (cd gforge/docs/docbook ; make debian)
+
+cleandoc:
+ (cd gforge/docs/docbook ; make clean)
+
phpdocumentor_get:
[ ! -f $(documentor_path)/$(documentor_file) ] && \
cd $(documentor_path) && \
# Set version for given distrib
cd $(BUILDFILES)/$(PKGDIR); dch -b -v $(MAJOR)$(MINOR)+p -D UNRELEASED "This is $(DISTRIB) autobuild"
perl -pi -e "s/UNRELEASED/$(DISTRIB)/" $(BUILDFILES)/$(PKGDIR)/debian/changelog
- cd $(BUILDFILES) ; dpkg-source -b $(PKGNAME)
+ cd $(BUILDFILES) ; dpkg-source -b $(PKGDIR)
rm -rf $(BUILDFILES)/$(PKGDIR)
$(BUILDFILES)/$(ORIGFILE): $(TARBALLS)/$(ORIGFILE)
grep -v rpm-specific | grep -v docs/phpdoc/docs | \
grep -v ^./debian/ | grep -v \\.jar$$ | \
grep -v \\.pdf$$ | grep -v plugins/fckeditor/www/_samples | \
+ grep -v plugins/wiki/www/lib/pear | \
cpio -o -H ustar | gzip > $(TARBALLS)/$(ORIGFILE)
pbuilderenv: $(PBUILDERTGZ) $(PBUILDERTGZ)/base-$(DISTRIB).tgz
$(LOCALREPO)/pool/main/$(PKGLETTER)/$(PKGNAME)/$(DSCFILE): $(BUILDRESULT)/$(CHANGEFILE)
@echo "Installing $(BUILDRESULT)/$(CHANGEFILE) in $@"
- cd $(BUILDRESULT); reprepro -Vb $(LOCALREPO) include $(DISTRIB) $(CHANGEFILE)
+ cd $(BUILDRESULT); reprepro $(ASKPASS) -Vb $(LOCALREPO) include $(DISTRIB) $(CHANGEFILE)
$(LOCALREPO)/conf/distributions:
for xdist in $(DISTRIBLIST) ; do \