3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
14 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
20 configure: configure-stamp
23 # Add here commands to configure the package.
29 build-stamp: configure-stamp
36 rm -f build-stamp configure-stamp
45 # ======================================================
46 #$(MAKE) DESTDIR="$(CURDIR)/debian/easy-chroot" install
47 mkdir -p "$(CURDIR)/debian/easy-chroot"
49 # mkdir -p "$(CURDIR)/debian/easy-chroot/sbin/"
50 cp -a "src/sbin/closechroot" "$(CURDIR)/debian/easy-chroot/sbin/closechroot"
51 mkdir -p "$(CURDIR)/debian/easy-chroot/sbin/"
52 cp -a "src/sbin/cpu-ondemand" "$(CURDIR)/debian/easy-chroot/sbin/cpu-ondemand"
53 mkdir -p "$(CURDIR)/debian/easy-chroot/sbin/"
54 cp -a "src/sbin/cpu-perform" "$(CURDIR)/debian/easy-chroot/sbin/cpu-perform"
55 mkdir -p "$(CURDIR)/debian/easy-chroot/sbin/"
56 cp -a "src/sbin/qchroot" "$(CURDIR)/debian/easy-chroot/sbin/qchroot"
57 mkdir -p "$(CURDIR)/debian/easy-chroot/sbin/"
58 cp -a "src/sbin/qmount" "$(CURDIR)/debian/easy-chroot/sbin/qmount"
59 mkdir -p "$(CURDIR)/debian/easy-chroot/sbin/"
60 cp -a "src/sbin/qumount" "$(CURDIR)/debian/easy-chroot/sbin/qumount"
61 mkdir -p "$(CURDIR)/debian/easy-chroot/sbin/"
62 cp -a "src/sbin/synchroot" "$(CURDIR)/debian/easy-chroot/sbin/synchroot"
63 mkdir -p "$(CURDIR)/debian/easy-chroot/usr/bin/"
64 cp -a "src/usr/bin/gxmessage" "$(CURDIR)/debian/easy-chroot/usr/bin/gxmessage"
65 mkdir -p "$(CURDIR)/debian/easy-chroot/usr/bin/"
66 cp -a "src/usr/bin/hostwin" "$(CURDIR)/debian/easy-chroot/usr/bin/hostwin"
67 mkdir -p "$(CURDIR)/debian/easy-chroot/usr/bin/"
68 cp -a "src/usr/bin/quserchroot" "$(CURDIR)/debian/easy-chroot/usr/bin/quserchroot"
69 mkdir -p "$(CURDIR)/debian/easy-chroot/etc/sudoers.d/"
70 cp -a "src/etc/sudoers.d/chroot.sudoers" "$(CURDIR)/debian/easy-chroot/etc/sudoers.d/chroot.sudoers"
72 # ======================================================
74 # Build architecture-independent files here.
75 binary-indep: build install
76 # We have nothing to do by default.
78 # Build architecture-dependent files here.
79 binary-arch: build install
82 dh_installchangelogs debian/changelog
109 binary: binary-indep binary-arch
110 .PHONY: build clean binary-indep binary-arch binary install configure