3 # Sample debian/rules that uses debhelper.
4 # GNU copyright 1997 to 1999 by Joey Hess.
6 # Uncomment this to turn on verbose mode.
13 ( cd $(CURDIR)/compile/ && make )
21 # Add here commands to clean up after the build process.
22 rm -rf $(CURDIR)/debian/grml-scripts-core/
23 ( cd compile && make clean )
33 # Add here commands to install the package into debian/grml-scripts-core.
34 cp -a usr_bin/* debian/grml-scripts-core/usr/bin/
35 install -m 755 compile/cpu-screen debian/grml-scripts-core/usr/bin/cpu-screen
36 install -m 755 compile/ip-screen debian/grml-scripts-core/usr/bin/ip-screen
38 # Build architecture-independent files here.
41 # Build architecture-dependent files here.
42 binary-arch: build install
47 dh_installman manpages/grml-scripts-core.1
48 dh_link /usr/share/man/man1/grml-scripts-core.1.gz /usr/share/man/man1/code2color.1.gz \
49 /usr/share/man/man1/grml-scripts-core.1.gz /usr/share/man/man1/cpu-screen.1.gz \
50 /usr/share/man/man1/grml-scripts-core.1.gz /usr/share/man/man1/ip-screen.1.gz \
51 /usr/share/man/man1/grml-scripts-core.1.gz /usr/share/man/man1/lesspipe.sh.1.gz
54 mkdir -p $(CURDIR)/debian/grml-scripts-core/usr/share/lintian/overrides/
55 cp -av debian/overrides $(CURDIR)/debian/grml-scripts-core/usr/share/lintian/overrides/grml-scripts-core
62 binary: binary-indep binary-arch
63 .PHONY: build clean binary-indep binary-arch binary install