42 lines
1.3 KiB
Makefile
Executable File
42 lines
1.3 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
%:
|
|
dh ${@}
|
|
|
|
override_dh_auto_build:
|
|
$(MAKE) -C po update-po
|
|
|
|
override_dh_auto_clean:
|
|
$(MAKE) -C po clean
|
|
|
|
override_dh_auto_install:
|
|
$(MAKE) DESTDIR=$(CURDIR)/debian/live-build install
|
|
$(MAKE) -C po DESTDIR=$(CURDIR)/debian/live-build install
|
|
|
|
mv debian/live-build/usr/share/doc/live-build/ChangeLog.live-package debian/live-build/usr/share/doc/live-build/changelog.live-package
|
|
mv debian/live-build/usr/share/doc/live-build/ChangeLog.live-webhelper debian/live-build/usr/share/doc/live-build/changelog.live-webhelper
|
|
|
|
rm -f debian/live-build/usr/share/doc/live-build/COPYING
|
|
rm -f debian/live-build/usr/share/doc/live-build/ChangeLog
|
|
|
|
# live-build-cgi
|
|
mkdir -p debian/live-build-cgi/usr/share/live/build
|
|
mv debian/live-build/usr/share/live/build/cgi debian/live-build-cgi/usr/share/live/build
|
|
|
|
# live-build-cron
|
|
mkdir -p debian/live-build-cron/usr/bin
|
|
mv debian/live-build/usr/bin/live-build-cron* debian/live-build-cron/usr/bin
|
|
|
|
override_dh_builddeb:
|
|
dh_builddeb -- -Zgzip -z9
|
|
|
|
override_dh_installchangelogs:
|
|
dh_installchangelogs docs/ChangeLog
|
|
|
|
override_dh_link:
|
|
dh_link
|
|
|
|
# workaround dh_link convertion of absolute symlinks to relvative symlinks
|
|
rm -rf debian/live-build/usr/share/live/build/bootloaders
|
|
cp -a share/bootloaders debian/live-build/usr/share/live/build/bootloaders
|