summaryrefslogtreecommitdiffstats
path: root/rules/ntp.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2006-01-30 14:13:02 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2006-01-30 14:13:02 +0000
commite181de75f31ad49357a95a20d0c285ae2a0612be (patch)
tree0753c2b329f11b1fd3c65d28c00a887f22a3e617 /rules/ntp.make
parent8b777fe0b15cfbf4a48f6ee461ebe06565a248e4 (diff)
downloadptxdist-e181de75f31ad49357a95a20d0c285ae2a0612be.tar.gz
ptxdist-e181de75f31ad49357a95a20d0c285ae2a0612be.tar.xz
install server and client scripts only when server and client are selected
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.9-trunk@4454 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/ntp.make')
-rw-r--r--rules/ntp.make7
1 files changed, 3 insertions, 4 deletions
diff --git a/rules/ntp.make b/rules/ntp.make
index a41697535..7af0736fa 100644
--- a/rules/ntp.make
+++ b/rules/ntp.make
@@ -362,17 +362,16 @@ ifdef PTXCONF_NTP_NTPDATE
endif
ifdef PTXCONF_NTP_NTPD
@$(call install_copy, 0, 0, 0755, $(NTP_DIR)/ntpd/ntpd, /usr/sbin/ntpd)
+ @$(call install_copy, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/ntp, /etc/init.d/ntp-server, n)
endif
ifdef PTXCONF_NTP_NTPDC
@$(call install_copy, 0, 0, 0755, $(NTP_DIR)/ntpdc/ntpdc, /usr/sbin/ntpdc)
+ @$(call install_link, /etc/init.d/ntp-server, /etc/init.d/ntp-client, n)
endif
-ifdef PTXCONF_NTP_NTPDC
+ifdef PTXCONF_NTP_NTPQ
@$(call install_copy, 0, 0, 0755, $(NTP_DIR)/ntpq/ntpq, /usr/sbin/ntpq)
endif
- @$(call install_copy, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/ntp, /etc/init.d/ntp-server, n)
- @$(call install_link, /etc/init.d/ntp-server, /etc/init.d/ntp-client, n)
-
@$(call install_finish)
@$(call touch, $@)