summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules15
1 files changed, 3 insertions, 12 deletions
diff --git a/debian/rules b/debian/rules
index 2dc8bb60b..e8ece84ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,21 +3,12 @@
%:
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
+ dh_auto_install -- DESTDIR=debian/live-build
+ # Removing unused files
rm -f debian/live-build/usr/share/doc/live-build/COPYING
- rm -f debian/live-build/usr/share/doc/live-build/ChangeLog
+ rm -f debian/live-build/usr/share/doc/live-build/ChangeLog*
# live-build-cgi
mkdir -p debian/live-build-cgi/usr/share/live/build