source: live-build/trunk/fuentes/debian/rules @ 900

Last change on this file since 900 was 900, checked in by kbut, 3 years ago

add original source

  • Property svn:executable set to *
File size: 905 bytes
Line 
1#!/usr/bin/make -f
2
3%:
4        dh ${@}
5
6override_dh_auto_build:
7        chmod +x share/hooks/100-build-wubildr.binary
8        dh_auto_build
9
10override_dh_auto_install:
11        dh_auto_install -- DESTDIR=debian/live-build
12        chmod +x debian/live-build/usr/lib/live/build/*
13
14        # Removing unused files
15        rm -f debian/live-build/usr/share/doc/live-build/COPYING
16        rm -f debian/live-build/usr/share/doc/live-build/ChangeLog*
17
18        # live-build-cgi
19        mkdir -p debian/live-build-cgi/usr/share/live/build
20        mv debian/live-build/usr/share/live/build/cgi debian/live-build-cgi/usr/share/live/build
21
22override_dh_builddeb:
23        dh_builddeb -- -Zxz -z9
24
25override_dh_installchangelogs:
26        dh_installchangelogs docs/ChangeLog
27
28override_dh_link:
29        dh_link
30
31        # workaround dh_link convertion of absolute symlinks to relvative symlinks
32        rm -rf debian/live-build/usr/share/live/build/bootloaders
33        cp -a share/bootloaders debian/live-build/usr/share/live/build/bootloaders
Note: See TracBrowser for help on using the repository browser.