
Some of the code used TRUE instead of true which did not compile for Debian. These instances were changed to true. Some #define constants generated narrowing errors because their values are negative in a 32 bit integer. These values were explicitly casted to int in the case statements causing the errors. Story: 2009101 Task: 43426 Signed-off-by: Tracey Bogue <tracey.bogue@windriver.com> Change-Id: Iffc4305660779010969e0c506d4ef46e1ebc2c71
20 lines
553 B
Makefile
20 lines
553 B
Makefile
#!/usr/bin/make -f
|
|
# export DH_VERBOSE = 1
|
|
|
|
export ROOT = debian/tmp
|
|
export INITDIR = $(ROOT)/etc/init.d
|
|
export PMONDIR = $(ROOT)/etc/pmon.d
|
|
export SYSTEMDDIR = $(ROOT)/lib/systemd/system
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_install:
|
|
install -m 755 -d $(INITDIR)
|
|
install -m 755 -p -D scripts/goenabled $(INITDIR)/goenabledControl
|
|
install -m 755 -p -D scripts/hbsAgent $(INITDIR)
|
|
install -m 755 -d $(PMONDIR)
|
|
install -m 644 -p -D scripts/hbsAgent.conf $(PMONDIR)
|
|
install -m 755 -d $(SYSTEMDDIR)
|
|
install -m 644 -p -D scripts/hbsAgent.service $(SYSTEMDDIR)
|