~ubuntu-branches/ubuntu/lucid/libtasn1-3/lucid-updates

« back to all changes in this revision

Viewing changes to cfg.mk

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2009-02-17 13:17:19 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090217131719-hrzk23b4v13mwt0q
Tags: 1.8-1
* New upstream version.
* [lintian] Add ${misc:Depends}.
* Standards-Version 3.8.0.
  + Rename README.source_and_patches to README.source

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006, 2007, 2008 Free Software Foundation
 
1
# Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation
2
2
# Author: Simon Josefsson
3
3
#
4
4
# This file is part of LIBTASN1.
28
28
bootstrap: autoreconf
29
29
        ./configure $(CFGFLAGS)
30
30
 
31
 
W32ROOT ?= $(HOME)/w32root
 
31
web-coverage:
 
32
        rm -fv `find $(htmldir)/coverage -type f | grep -v CVS`
 
33
        cp -rv $(COVERAGE_OUT)/* $(htmldir)/coverage/
 
34
 
 
35
upload-web-coverage:
 
36
        cd $(htmldir) && \
 
37
                cvs commit -m "Update." coverage
 
38
 
 
39
W32ROOT ?= $(HOME)/gnutls4win/inst
32
40
 
33
41
mingw32: autoreconf 
34
42
        ./configure --enable-gtk-doc --host=i586-mingw32msvc --build=`./config.guess` --prefix=$(W32ROOT)
40
48
htmldir = ../www-$(PACKAGE)
41
49
tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
42
50
 
43
 
release: upload webdocs
 
51
release: prepare upload web upload-web
44
52
 
45
 
upload:
 
53
prepare:
46
54
        ! git-tag -l $(tag) | grep $(PACKAGE) > /dev/null
47
55
        rm -f ChangeLog
48
56
        $(MAKE) ChangeLog distcheck
49
57
        git commit -m Generated. ChangeLog
50
58
        git-tag -u b565716f! -m $(VERSION) $(tag)
 
59
 
 
60
upload:
51
61
        git-push
52
62
        git-push --tags
53
 
        build-aux/gnupload --to ftp.gnu.org:$(PACKAGE) $(distdir).tar.gz
 
63
        gnupload --to ftp.gnu.org:gnutls $(distdir).tar.gz
54
64
        scp $(distdir).tar.gz $(distdir).tar.gz.sig igloo.linux.gr:~ftp/pub/gnutls/libtasn1/
55
65
        ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/libtasn1/ && sha1sum *.tar.gz > CHECKSUMS'
56
66
        cp $(distdir).tar.gz $(distdir).tar.gz.sig ../releases/gnutls/$(PACKAGE)/
57
 
        make webdocs
58
67
 
59
 
webdocs:
60
 
        cd doc && ../build-aux/gendocs.sh -o ../$(htmldir)/manual $(PACKAGE) "$(PACKAGE_NAME)"
 
68
web:
 
69
        cd doc && ../build-aux/gendocs.sh --html "--css-include=texinfo.css" \
 
70
                -o ../$(htmldir)/manual/ $(PACKAGE) "$(PACKAGE_NAME)"
61
71
        cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp doc/reference/html/*.css $(htmldir)/reference/
 
72
 
 
73
upload-web:
62
74
        cd $(htmldir) && cvs commit -m "Update." manual/ reference/