~ubuntu-branches/ubuntu/intrepid/awstats/intrepid-updates

« back to all changes in this revision

Viewing changes to debian/cdbs/1/rules/copyright-check.mk

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:30:28 UTC
  • Revision ID: james.westby@ubuntu.com-20080622213028-4p2dzwu56n9oy729
Tags: 6.7.dfsg-4
* Update local cdbs snippets:
  + Relax copyright-check to only warn about its discoveries.
  + Update dependency cleanup to strip cdbs 0.4.27 (not 0.4.27-1).

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        @if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi
75
75
        @newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' - | sed 's/^\+//'`; \
76
76
                if [ -n "$$newstrings" ]; then \
77
 
                        echo "ERROR: The following new or changed copyright notices discovered:"; \
 
77
                        echo "WARNING: The following new or changed copyright notices discovered:"; \
78
78
                        echo; \
79
79
                        echo "$$newstrings"; \
80
80
                        echo; \
81
81
                        echo "To fix the situation please do the following:"; \
82
82
                        echo "  1) Investigate the above changes and update debian/copyright as needed"; \
83
83
                        echo "  2) Replace debian/copyright_hints with debian/copyright_newhints"; \
84
 
                        exit 1; \
 
84
                else \
 
85
                        echo 'No new copyright notices found - assuming no news is good news...'; \
 
86
                        rm -f debian/copyright_newhints; \
85
87
                fi
86
 
        
87
 
        @echo 'No new copyright notices found - assuming no news is good news...'
88
 
        rm -f debian/copyright_newhints
89
88
        touch $@
90
89
 
91
90
clean::