summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-11-04 09:57:57 +0100
committerSimon Josefsson <simon@josefsson.org>2008-11-04 09:57:57 +0100
commit1265e52768ed02708fb4d9332957ec31bd13e97e (patch)
tree7b9146f330e27e38909998b83cbb1ee4d188d788 /cfg.mk
parent6744bda7f86bd231efd016928714c5c6c7c3fd9f (diff)
downloadlibtasn1-1265e52768ed02708fb4d9332957ec31bd13e97e.tar.gz
libtasn1-1265e52768ed02708fb4d9332957ec31bd13e97e.tar.bz2
libtasn1-1265e52768ed02708fb4d9332957ec31bd13e97e.zip
Build fixes.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk19
1 files changed, 15 insertions, 4 deletions
diff --git a/cfg.mk b/cfg.mk
index c8c55f2..201c1b7 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -28,7 +28,15 @@ autoreconf:
bootstrap: autoreconf
./configure $(CFGFLAGS)
-W32ROOT ?= $(HOME)/w32root
+web-coverage:
+ rm -fv `find $(htmldir)/coverage -type f | grep -v CVS`
+ cp -rv $(COVERAGE_OUT)/* $(htmldir)/coverage/
+
+upload-web-coverage:
+ cd $(htmldir) && \
+ cvs commit -m "Update." coverage
+
+W32ROOT ?= $(HOME)/gnutls4win/inst
mingw32: autoreconf
./configure --enable-gtk-doc --host=i586-mingw32msvc --build=`./config.guess` --prefix=$(W32ROOT)
@@ -40,23 +48,26 @@ ChangeLog:
htmldir = ../www-$(PACKAGE)
tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
-release: upload webdocs
+release: prepare upload web upload-web
-upload:
+prepare:
! git-tag -l $(tag) | grep $(PACKAGE) > /dev/null
rm -f ChangeLog
$(MAKE) ChangeLog distcheck
git commit -m Generated. ChangeLog
git-tag -u b565716f! -m $(VERSION) $(tag)
+
+upload:
git-push
git-push --tags
gnupload --to ftp.gnu.org:gnutls $(distdir).tar.gz
scp $(distdir).tar.gz $(distdir).tar.gz.sig igloo.linux.gr:~ftp/pub/gnutls/libtasn1/
ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/libtasn1/ && sha1sum *.tar.gz > CHECKSUMS'
cp $(distdir).tar.gz $(distdir).tar.gz.sig ../releases/gnutls/$(PACKAGE)/
- make webdocs
webdocs:
cd doc && ../build-aux/gendocs.sh -o ../$(htmldir)/manual $(PACKAGE) "$(PACKAGE_NAME)"
cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp doc/reference/html/*.css $(htmldir)/reference/
+
+upload-web:
cd $(htmldir) && cvs commit -m "Update." manual/ reference/