blob: 97b42fa48444f7d55912bc4a08e503a69d6d369f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/usr/bin/make -f
%:
dh ${@}
override_dh_auto_clean:
$(MAKE) -C po clean
override_dh_auto_build:
$(MAKE) -C po update-po
override_dh_auto_install:
dh_auto_install
$(MAKE) -C po install DESTDIR=$(CURDIR)/debian/live-helper
# Preparing alternatives
mv debian/live-helper/usr/share/live-helper/includes debian/live-helper/usr/share/live-helper/includes.debian
mv debian/live-helper/usr/share/live-helper/templates debian/live-helper/usr/share/live-helper/templates.debian
# Removing double files
rm -f debian/live-helper/usr/share/doc/live-helper/COPYING
rm -f debian/live-helper/usr/share/doc/live-helper/ChangeLog
mv debian/live-helper/usr/share/doc/live-helper/ChangeLog.live-package debian/live-helper/usr/share/doc/live-helper/changelog.live-package
mv debian/live-helper/usr/share/doc/live-helper/ChangeLog.live-webhelper debian/live-helper/usr/share/doc/live-helper/changelog.live-webhelper
override_dh_installchangelogs:
dh_installchangelogs docs/ChangeLog
|