summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 36aab046a485f6e15428031146b3b7d2cada1a2f (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
#!/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-helper/ChangeLog.live-package debian/live-build/usr/share/doc/live-helper/changelog.live-package
	mv debian/live-build/usr/share/doc/live-helper/ChangeLog.live-webhelper debian/live-build/usr/share/doc/live-helper/changelog.live-webhelper

	rm -f debian/live-build/usr/share/doc/live-helper/COPYING
	rm -f debian/live-build/usr/share/doc/live-helper/ChangeLog

	# live-buld-cgi
	mkdir -p debian/live-build-cgi/usr/share/live-helper
	mv debian/live-build/usr/share/live-helper/cgi debian/live-build-cgi/usr/share/live-helper

override_dh_installchangelogs:
	dh_installchangelogs docs/ChangeLog