2007-09-23 08:04:20 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2010-01-19 20:12:36 -01:00
|
|
|
%:
|
|
|
|
dh ${@}
|
2007-09-23 08:04:20 +00:00
|
|
|
|
2010-09-26 10:38:38 +00:00
|
|
|
override_dh_auto_build:
|
|
|
|
$(MAKE) -C po update-po
|
|
|
|
|
2011-11-04 09:32:37 -01:00
|
|
|
override_dh_auto_clean:
|
|
|
|
$(MAKE) -C po clean
|
|
|
|
|
2010-01-19 20:12:36 -01:00
|
|
|
override_dh_auto_install:
|
2010-07-24 14:18:02 +00:00
|
|
|
$(MAKE) DESTDIR=$(CURDIR)/debian/live-build install
|
2010-09-26 10:38:38 +00:00
|
|
|
$(MAKE) -C po DESTDIR=$(CURDIR)/debian/live-build install
|
2008-08-10 15:39:06 +00:00
|
|
|
|
2010-08-14 18:29:05 +00:00
|
|
|
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
|
2010-07-24 14:18:02 +00:00
|
|
|
|
2010-08-14 18:29:05 +00:00
|
|
|
rm -f debian/live-build/usr/share/doc/live-build/COPYING
|
|
|
|
rm -f debian/live-build/usr/share/doc/live-build/ChangeLog
|
2007-09-23 08:04:20 +00:00
|
|
|
|
2011-07-15 18:31:44 +00:00
|
|
|
# live-build-cgi
|
2010-08-14 18:29:05 +00:00
|
|
|
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
|
2010-03-14 20:40:17 -01:00
|
|
|
|
2011-07-15 18:31:44 +00:00
|
|
|
# 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
|
|
|
|
|
2011-10-08 09:31:43 +00:00
|
|
|
override_dh_builddeb:
|
|
|
|
dh_builddeb -- -Zgzip -z9
|
2011-11-04 09:32:37 -01:00
|
|
|
|
|
|
|
override_dh_installchangelogs:
|
|
|
|
dh_installchangelogs docs/ChangeLog
|