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.
12 override_dh_auto_build:
14 cd $(CMAKE_BINARY_DIR)
19 mkdir -p $(CURDIR)/debian/tmp/etc/init.d
20 mkdir -p $(CURDIR)/debian/tmp/etc/rc.d/rc3.d/
21 mkdir -p $(CURDIR)/debian/tmp/etc/rc.d/rc5.d/
23 cp -af $(CURDIR)/debian/smartcard-service-server.init $(CURDIR)/debian/tmp/etc/init.d/smartcard-service-server
24 ln -s ../init.d/smartcard-service-server $(CURDIR)/debian/tmp/etc/rc.d/rc3.d/S79smartcard-service-server
25 ln -s ../init.d/smartcard-service-server $(CURDIR)/debian/tmp/etc/rc.d/rc5.d/S79smartcard-service-server
29 override_dh_installinit: