summaryrefslogtreecommitdiffstats
path: root/rules/thttpd.make
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2006-02-24 17:34:58 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2006-02-24 17:34:58 +0000
commitd008f7b7bc5a55dfb86ae421903af76ee901c530 (patch)
tree4b2679948d102974dd560134acfd1b7012626f6a /rules/thttpd.make
parent19780c394ec957f9cd4b46ca2fb35c004d647bda (diff)
downloadptxdist-d008f7b7bc5a55dfb86ae421903af76ee901c530.tar.gz
ptxdist-d008f7b7bc5a55dfb86ae421903af76ee901c530.tar.xz
new calling convention for install_* macros. see commit 4759 to Rules.make
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@4760 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/thttpd.make')
-rw-r--r--rules/thttpd.make34
1 files changed, 17 insertions, 17 deletions
diff --git a/rules/thttpd.make b/rules/thttpd.make
index 16a0b1793..0768f279c 100644
--- a/rules/thttpd.make
+++ b/rules/thttpd.make
@@ -105,31 +105,31 @@ thttpd_targetinstall: $(STATEDIR)/thttpd.targetinstall
$(STATEDIR)/thttpd.targetinstall: $(thttpd_targetinstall_deps_default)
@$(call targetinfo, $@)
- @$(call install_init,default)
- @$(call install_fixup,PACKAGE,thttpd)
- @$(call install_fixup,PRIORITY,optional)
- @$(call install_fixup,VERSION,$(THTTPD_VERSION))
- @$(call install_fixup,SECTION,base)
- @$(call install_fixup,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
- @$(call install_fixup,DEPENDS,)
- @$(call install_fixup,DESCRIPTION,missing)
-
- @$(call install_copy, 0, 0, 0755, $(THTTPD_DIR)/thttpd, /usr/sbin/thttpd)
+ @$(call install_init, thttpd)
+ @$(call install_fixup, thttpd,PACKAGE,thttpd)
+ @$(call install_fixup, thttpd,PRIORITY,optional)
+ @$(call install_fixup, thttpd,VERSION,$(THTTPD_VERSION))
+ @$(call install_fixup, thttpd,SECTION,base)
+ @$(call install_fixup, thttpd,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
+ @$(call install_fixup, thttpd,DEPENDS,)
+ @$(call install_fixup, thttpd,DESCRIPTION,missing)
+
+ @$(call install_copy, thttpd, 0, 0, 0755, $(THTTPD_DIR)/thttpd, /usr/sbin/thttpd)
ifdef PTXCONF_ROOTFS_ETC_INITD_THTTPD
ifneq ($(call remove_quotes,$(PTXCONF_ROOTFS_ETC_INITD_THTTPD_USER_FILE)),)
- @$(call install_copy, 0, 0, 0755, $(PTXCONF_ROOTFS_ETC_INITD_THTTPD_USER_FILE), /etc/init.d/thttpd, n)
+ @$(call install_copy, thttpd, 0, 0, 0755, $(PTXCONF_ROOTFS_ETC_INITD_THTTPD_USER_FILE), /etc/init.d/thttpd, n)
else
- @$(call install_copy, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/thttpd, /etc/init.d/thttpd, n)
+ @$(call install_copy, thttpd, 0, 0, 0755, $(PTXDIST_TOPDIR)/projects/generic/etc/init.d/thttpd, /etc/init.d/thttpd, n)
endif
endif
ifneq ($(PTXCONF_ROOTFS_ETC_INITD_THTTPD_LINK),"")
- @$(call install_copy, 0, 0, 0755, /etc/rc.d)
- @$(call install_link, ../init.d/thttpd, /etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_THTTPD_LINK))
+ @$(call install_copy, thttpd, 0, 0, 0755, /etc/rc.d)
+ @$(call install_link, thttpd, ../init.d/thttpd, /etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_THTTPD_LINK))
endif
- @$(call install_copy, 12, 102, 0755, /var/www)
- @$(call install_copy, 12, 102, 0644, $(PTXDIST_TOPDIR)/projects/generic/thttpd.html, /var/www/index.html, n)
+ @$(call install_copy, thttpd, 12, 102, 0755, /var/www)
+ @$(call install_copy, thttpd, 12, 102, 0644, $(PTXDIST_TOPDIR)/projects/generic/thttpd.html, /var/www/index.html, n)
- @$(call install_finish)
+ @$(call install_finish, thttpd)
@$(call touch, $@)
# ----------------------------------------------------------------------------