Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- mode: makefile; coding: utf-8 -*-
3 # Copyright © 2013 Vasudev Kamath <[email protected]>
4 # Copyright © 2013, 2015 Jonas Smedegaard <[email protected]>
5 # Copyright © 2022 Étienne Mollier <[email protected]> (conversion from cdbs)
6 # Description: Main Debian packaging script for Attean
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or (at
11 # your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 include /usr/share/dpkg/pkg-info.mk
22 DTMP := $(CURDIR)/debian/$(DEB_SOURCE)
23
24 %:
25 dh $@
26
27 # Strip extension from executable
28 execute_after_dh_auto_install:
29 mv $(DTMP)/usr/bin/lessp.pl $(DTMP)/usr/bin/lessp