~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2009-06-30 14:05:13 UTC
  • mfrom: (1.2.1 upstream) (36.1.2 karmic)
  • Revision ID: james.westby@ubuntu.com-20090630140513-hz71do3sij2jhm4s
* New upstream version fixing XSS (PMASA-2009-5).
* Document no empty password in README.Debian and the shipped sample
  configuration file (LP: #388703).
* Install service file for avahi (if web service enabled and if avahi is
  installed) (LP: #369244).
* Mention protecting of setup if not using provided configuration snippets
  for webservers.
* Call ucf with --debconf-ok in postrm (Closes: #534894).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Uncomment this to turn on verbose mode.
3
3
#export DH_VERBOSE=1
4
4
 
5
 
include /usr/share/dpatch/dpatch.make
 
5
include /usr/share/quilt/quilt.make
6
6
 
7
7
REVISION := $(shell head -1 debian/changelog | sed 's/.*(//;s/).*//;s/.*-//')
8
8
 
9
 
build: patch build-stamp
10
 
build-stamp:
 
9
build: build-stamp
 
10
build-stamp: $(QUILT_STAMPFN)
11
11
        dh_testdir
12
12
        touch build-stamp
13
13
 
32
32
        sed -i '/CREATE DATABASE/,/USE phpmyadmin/D'  debian/phpmyadmin/usr/share/dbconfig-common/data/phpmyadmin/install/mysql
33
33
        dh_install
34
34
        find debian/phpmyadmin -name .svn | xargs -r rm -r
35
 
        # don't install README, then also not readme.php
36
 
        rm debian/phpmyadmin/usr/share/phpmyadmin/readme.php
37
35
        # spurious licence files, this is in debian/copyright
38
36
        rm debian/phpmyadmin/usr/share/phpmyadmin/libraries/tcpdf/font/LICENSE \
39
37
                debian/phpmyadmin/usr/share/phpmyadmin/libraries/tcpdf/LICENSE.TXT