#export DH_VERBOSE=1
-
-
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
configure: configure-stamp
configure-stamp:
dh_testdir
- # Add here commands to configure the package.
touch configure-stamp
dh_testroot
rm -f build-stamp configure-stamp
- -$(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) clean
dh_clean
dh_clean -k
dh_installdirs
- # Add here commands to install the package into debian/cpulimit.
- install cpulimit $(CURDIR)/debian/cpulimit/usr/bin
+ install cpulimit $(CURDIR)/debian/cpulimit/usr/sbin
# Build architecture-independent files here.
binary-indep: build install
-# We have nothing to do by default.
+# We have nothing to do.
# Build architecture-dependent files here.
binary-arch: build install
# dh_installinit
# dh_installcron
# dh_installinfo
- dh_installman debian/cpulimit.1
+ dh_installman debian/cpulimit.8
dh_link
dh_strip
dh_compress