X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=debian%2Frules;h=687f60796e0e3d86964f329b6525f4298d3bbe70;hp=c0ea3ef88c9926e647f2eb2716e94e17354e0877;hb=8147fe1009e24e218bf20b9f6c1b94fd9465ffda;hpb=044d67ae243554c35bf3832f51bbac4570b04e77 diff --git a/debian/rules b/debian/rules index c0ea3ef..687f607 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,8 @@ build: build-stamp build-stamp: dh_testdir - cd doc && $(MAKE) && cd .. + (cd tests && ./run_tests.sh) + (cd doc && $(MAKE)) touch build-stamp @@ -29,17 +30,17 @@ install: build dh_testdir dh_testroot dh_clean -k - dh_installdirs etc/grml etc/init.d usr/sbin usr/bin usr/share/doc/grml-saveconfig + dh_installdirs etc/grml etc/dhcp{3,}/dhclient-exit-hooks.d etc/init.d usr/sbin usr/bin usr/share/doc/grml-saveconfig # Add here commands to install the package into debian/grml-autoconfig. install -m 755 grml-autoconfig debian/grml-autoconfig/etc/init.d/grml-autoconfig install -m 644 autoconfig debian/grml-autoconfig/etc/grml/autoconfig + install -m 644 autoconfig.local debian/grml-autoconfig/etc/grml/autoconfig.local install -m 755 autoconfig.functions debian/grml-autoconfig/etc/grml/autoconfig.functions install -m 644 language-functions debian/grml-autoconfig/etc/grml/language-functions install -m 755 sbin/grml-autoconfig debian/grml-autoconfig/usr/sbin/grml-autoconfig install -m 755 grml-bootsplash debian/grml-autoconfig/usr/bin/grml-bootsplash - install -m 755 bin/mkpersistenthome debian/grml-autoconfig/usr/bin/mkpersistenthome install -m 755 bin/restore-config debian/grml-autoconfig/usr/bin/restore-config install -m 755 bin/save-config debian/grml-autoconfig/usr/bin/save-config @@ -56,10 +57,10 @@ binary-indep: build install dh_testroot dh_installchangelogs dh_installdocs doc/grml-autoconfig.1.html doc/grml-autoconfig.8.html \ - doc/grml-bootsplash.1.html doc/mkpersistenthome.1.html \ + doc/grml-bootsplash.1.html \ doc/restore-config.1.html doc/save-config.1.html dh_installman doc/grml-autoconfig.1.gz doc/grml-autoconfig.8.gz \ - doc/grml-bootsplash.1.gz doc/mkpersistenthome.1.gz \ + doc/grml-bootsplash.1.gz \ doc/restore-config.1.gz doc/save-config.1.gz # backward compability: dh_link /usr/share/doc/grml-autoconfig/grml-autoconfig.1.html /usr/share/doc/grml-saveconfig/grml-config.html