~ubuntu-branches/ubuntu/quantal/tidy/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jason Thomas
  • Date: 2008-12-24 13:25:54 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081224132554-l7900667kdy9eeu5
Tags: 20081224cvs-1
* New cvs snapshot
* debian/control: add debhelper ${misc:Depends} to all packages
- add versioned depend on libtidy-0.99-0 (>= 20081224cvs-1) for tidy
  (closes: #470764)
- add Homepage field
- update standards-version from 3.7.3.0 to 3.8.0.0
* debian/tidy-doc.doc-base: change section from App/Text to Web Development
* debian/tidy.postinst + tidy.preinst: set the -e flag
* debian/README.source: new, how to build source tarball from upstream
* debian/README.Debian: add urls to more documentation
  (closes: #353912)
* debian/patches/03overview-tab-size.patch: add patch to fix tab-size
  (closes: #353907)
* tidy doc has been built from same source as tidy for a while
  (closes: #364960)
* debian/rules:
  - add -xml-config to generated manpage
  - clean up generated files
  (closes: #471107)
* manpage: -latin0 options has correct info as of 20080116cvs-1
  (closes: #506394 )

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
DOCDIR=htmldoc
8
8
HELPXML=$(DOCDIR)/tidy-help.xml
 
9
CONFIGXML=$(DOCDIR)/tidy-config.xml
 
10
MANXSL=$(DOCDIR)/tidy1.xsl
 
11
MANPAGE=debian/tidy.1
9
12
 
10
13
build/tidy::
11
14
        ## Generate manpage from tidy output
12
15
        LD_LIBRARY_PATH=$(CURDUR)/src/.libs/ \
13
16
                $(CURDIR)/console/tidy -xml-help > $(HELPXML)
14
 
        /usr/bin/xsltproc -o debian/tidy.1 $(DOCDIR)/tidy1.xsl $(HELPXML)
 
17
        LD_LIBRARY_PATH=$(CURDUR)/src/.libs/ \
 
18
                $(CURDIR)/console/tidy -xml-config > $(CONFIGXML)
 
19
        /usr/bin/xsltproc -o $(MANPAGE) $(MANXSL) $(HELPXML)
15
20
 
16
21
clean::
17
 
        ## Clean up generated manpage
18
 
        rm -f debian/tidy.1
 
22
        ## Clean up generated files
 
23
        rm -f $(MANPAGE)
 
24
        rm -f $(HELPXML)
 
25
        rm -f $(CONFIGXML)