Adding debian version 0.5.0-1.
[debian/lxappearance.git] / debian / rules
CommitLineData
1aee8306 1#!/usr/bin/make -f
6e09ab3a
AL
2# -*- mode: makefile; coding: utf-8 -*-
3# Copyright (C) 2009-2010 Andrew Lee (李健秋) <ajqlee@debian.org>
4# Description: Main Debian packaging script for morituri
5#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of the GNU General Public License as
8# published by the Free Software Foundation; either version 2, or (at
9# your option) any later version.
10#
11# This program is distributed in the hope that it will be useful, but
12# WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14# General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program. If not, see <http://www.gnu.org/licenses/>.
18# Uncomment this to turn on verbose mode.
1aee8306
AL
19
20# Uncomment this to turn on verbose mode.
21#export DH_VERBOSE=1
22
6e09ab3a 23DISTRO = "$(shell lsb_release -si)"
1aee8306 24
6e09ab3a
AL
25%:
26 dh $@
1aee8306 27
6e09ab3a
AL
28override_dh_auto_configure:
29 #/usr/bin/autoreconf -fiv
30 dh_auto_configure -- --enable-man
1aee8306 31
6e09ab3a
AL
32override_dh_auto_clean:
33 rm -f man/lxpanel.1 man/lxpanelctl.1
34 dh_auto_clean
1aee8306 35
6e09ab3a
AL
36override_dh_install:
37 dh_install --fail-missing
38 #Install apport hook only on Ubuntu
39ifeq ($(DISTRO),"Ubuntu")
40 dh_install -plxappearance debian/apport/source_lxappearance.py usr/share/apport/package-hooks
41endif
1aee8306 42
6e09ab3a
AL
43override_dh_auto_test:
44 :
1aee8306 45
6e09ab3a
AL
46override_dh_strip:
47 dh_strip --dbg-package=lxappearance-dbg