Added copyright information
[platform/upstream/libtasn1.git] / cfg.mk
diff --git a/cfg.mk b/cfg.mk
index d7514d5..cecca74 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -1,4 +1,4 @@
-# Copyright (C) 2006-201 Free Software Foundation, Inc.
+# Copyright (C) 2006-2014 Free Software Foundation, Inc.
 # Author: Simon Josefsson
 #
 # This file is part of LIBTASN1.
@@ -31,6 +31,7 @@ local-checks-to-skip = sc_prohibit_strcmp sc_prohibit_have_config_h   \
        sc_immutable_NEWS sc_prohibit_magic_number_exit                 \
        sc_bindtextdomain
 VC_LIST_ALWAYS_EXCLUDE_REGEX = ^(maint.mk|gtk-doc.make|build-aux/.*|gl/.*|lib/gllib/.*|lib/glm4/.*|lib/ASN1\.c|m4/pkg.m4|doc/gdoc|windows/.*|doc/fdl-1.3.texi)$$
+update-copyright-env = UPDATE_COPYRIGHT_USE_INTERVALS=1
 
 # Explicit syntax-check exceptions.
 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^tests/TestIndef.p12$$
@@ -38,11 +39,14 @@ exclude_file_name_regexp--sc_GPL_version = ^lib/libtasn1.h$$
 exclude_file_name_regexp--sc_program_name = ^tests/|examples/
 exclude_file_name_regexp--sc_prohibit_atoi_atof = ^src/asn1Coding.c|src/asn1Decoding.c$$
 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^tests/crlf.cer|tests/TestIndef.p12$$
+exclude_file_name_regexp--sc_error_message_uppercase = ^tests/Test_tree.c$$
+exclude_file_name_regexp--sc_unmarked_diagnostics = ^tests/Test_tree.c$$
 
 bootstrap-tools := autoconf,automake,libtool,bison
 gpg_key_ID = b565716f
 
 autoreconf:
+       touch ChangeLog
        test -f ./configure || autoreconf --install
 
 bootstrap: autoreconf
@@ -117,7 +121,7 @@ gtkdoc-copy:
        cp -v doc/reference/$(PACKAGE).pdf \
                doc/reference/html/*.html \
                doc/reference/html/*.png \
-               doc/reference/html/*.devhelp \
+               doc/reference/html/*.devhelp2 \
                doc/reference/html/*.css \
                $(htmldir)/reference/
 
@@ -126,14 +130,13 @@ gtkdoc-upload:
                cvs add reference || true && \
                cvs add -kb reference/*.png reference/*.pdf || true && \
                cvs add reference/*.html reference/*.css \
-                       reference/*.devhelp || true && \
+                       reference/*.devhelp2 || true && \
                cvs commit -m "Update." reference/
 
 ChangeLog:
        git2cl > ChangeLog
        cat .clcopying >> ChangeLog
 
-
 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
 
 tarball:
@@ -141,18 +144,23 @@ tarball:
        rm -f ChangeLog
        $(MAKE) ChangeLog distcheck
 
+libtasn14win:
+       cd windows && make -f libtasn14win.mk libtasn14win VERSION=$(VERSION)
+
+libtasn14win-upload:
+       cd windows && make -f libtasn14win.mk upload VERSION=$(VERSION)
+
 source:
-       git commit -m Generated. ChangeLog
-       git tag -u b565716f! -m $(VERSION) $(tag)
+       git tag -u b565716f -m $(VERSION) $(tag)
 
-release-check: syntax-check tarball gendoc-copy gtkdoc-copy coverage coverage-copy clang clang-copy
+release-check: syntax-check tarball libtasn14win gendoc-copy gtkdoc-copy coverage coverage-copy clang clang-copy
 
 release-upload-www: gendoc-upload gtkdoc-upload coverage-upload clang-upload
 
 release-upload-ftp:
+       build-aux/gnupload --to ftp.gnu.org:$(PACKAGE) $(distdir).tar.gz
+       cp $(distdir).tar.gz $(distdir).tar.gz.sig ../releases/$(PACKAGE)/
        git push
        git push --tags
-       build-aux/gnupload --to ftp.gnu.org:libtasn1 $(distdir).tar.gz
-       cp $(distdir).tar.gz $(distdir).tar.gz.sig ../releases/$(PACKAGE)/
 
-release: release-check release-upload-www source release-upload-ftp
+release: release-check release-upload-www source release-upload-ftp libtasn14win-upload