31 lines
943 B
Makefile
Executable File
31 lines
943 B
Makefile
Executable File
#!/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
|
|
|
|
install -D -m 0644 debian/live-helper.default debian/live-helper/etc/default/live-helper_autobuild
|
|
|
|
# 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
|
|
|
|
|
|
override_dh_installchangelogs:
|
|
dh_installchangelogs docs/ChangeLog
|