/[dep]/web/deps/dep5/Makefile
ViewVC logotype

Contents of /web/deps/dep5/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 284 - (hide annotations) (download)
Sun Mar 25 04:08:52 2012 UTC (14 months, 3 weeks ago) by plessy
File size: 1596 byte(s)
Added the new Source field to the DEP headers.
1 vorlon 225 all: copyright-format.txt.gz index.html
2 vorlon 210
3 vorlon 216 copyright-format.html: copyright-format.xml html.dsl
4 vorlon 210 jade -V nochunks -t sgml -d html.dsl \
5     /usr/share/xml/declaration/xml.dcl $< > $@
6     -tidy -q -i -m -f /dev/null $@
7    
8     %.txt: %.html
9     links -dump $< | perl -pe 's/[\r\0]//g' > $@
10    
11     %.txt.gz: %.txt
12     gzip -cf9 $< > $@
13    
14 vorlon 225 index.html: copyright-format.html
15     @sed -e'/<div class="ARTICLE">/i\
16     <pre><code>Title: Machine-readable debian/copyright\
17     DEP: 5\
18 zack 279 State: ACCEPTED\
19 vorlon 225 Drivers: Steve Langasek &lt;vorlon@debian.org&gt;\
20 zack 279 Date: 2012-02-24\
21 vorlon 225 URL: http://dep.debian.net/deps/dep5 (this page)\
22 plessy 284 Source:\
23     http://wiki.debian.org/Proposals/CopyrightFormat?action=info\
24     http://anonscm.debian.org/gitweb/?p=dbnpolicy/policy.git;a=blob;f=copyright-format/copyright-format.xml;hb=da0daadc5f20dacaf1ce6c4f98d23fed5eb4e65c\
25     http://anonscm.debian.org/loggerhead/dep/dep5/trunk/annotate/head:/dep5/copyright-format.xml \
26 vorlon 225 License:\
27     Copying and distribution of this file, with or without modification,\
28     are permitted in any medium without royalty provided the copyright\
29     notice and this notice are preserved.\
30     Abstract:\
31     Establish a standard, machine-readable format for debian/copyright\
32     files within packages, to facilitate automated checking and\
33     reporting of licenses for packages and sets of packages.\
34     </code></pre>' \
35     -e'/<title>/a\
36     <link rel="stylesheet" href="../../style.css" type="text/css" />\
37     <link rel="stylesheet" href="../../local.css" type="text/css" />\
38     ' \
39     -e'/<div class="\(legalnotice\|abstract\)">/,/<\/div>/d' \
40     $< > $@
41    
42 vorlon 210 clean:
43 vorlon 225 rm -f *.css *.html *.txt *.txt.gz
44 vorlon 210
45     .DELETE_ON_ERROR:

  ViewVC Help
Powered by ViewVC 1.1.5