diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..6a24cd52c --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/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: + $(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-buld-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 + +override_dh_installchangelogs: + dh_installchangelogs docs/ChangeLog |